SELECT *FROM ProductsWHERE SupplierID NOT IN (1,2)
The above example all the products will be retrieved except for products with SupplierID of 1 or 2, here are the results
Similar Posts:
SELECT *FROM ProductsWHERE SupplierID NOT IN (1,2)
Translate
PC Gaming from AmazonPhones From AmazonVideo Games From Amazon Amazon Daily Deals Amazon Basics (private brand) Refurbished Deals From AmazonPopular Topics
Popular Posts
Blog Archive
This comment has been removed by a blog administrator.
ReplyDeleteThe NOT IN operator in SQL means that you are retrieving records in the database that does not match the values in a comma separated list. In other words it retrieves the inverse of the IN statement by itself. Here is an example of how you can use the IN operator in the products table in the Northwind database.
ReplyDeletepositivity blossom quotes
cricut wine bottle labels
meaningful heart beat tattoo
cricut vinyl cutter
cricut animal designs
cricuit designs
cricut vinyl for walls