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!!
use PackageID NOT IN (21, 22, 23..)
Select * from Merchant
where PackageID NOT IN (21, 22, 23)
SELECT * FROM Merchant WHERE Packageid NOT IN ('21', '22', '23')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With