Hello Asoloh,Based on the information provided the following expression should achieve what you are looking forselect contactUser.idfrom usr as contactUserjoin contactUser.usrAlias uajoin ua.secondaryServDepts secSvdsjoin secSvds.servDept secSvdwhere ua.shortCode like 'ZZ_S0%' (or you can use where ua.shortCode=’usrAlias shortcode’)and ua.servDept.shortCode = 'ASSYSTNET MBS GEN 420'and secSvd.shortCode = 'ASSYSTNET MBS GEN430' Please let us know if this answers your query.Thank you.
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.