I was trying to execute a query which gets me all the info from Merchant table where PackageID is not equal to 21 or 22 or 23..
Select * from Merchant where PackageID NOT ’22’ Union Select * from Merchant where PackageID Not ’21’
Thanks!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use PackageID NOT IN (21, 22, 23..)