This article provides an example to display customers having city other than gujarat and mp using not in.
Select cname from cust wherestatenotin (‘Gujarat’,’MP’); Output: CNAME ----------- Dhaval Hardik Jigar