Created
July 29, 2013 07:59
-
-
Save AlexArchive/6102762 to your computer and use it in GitHub Desktop.
Finds all customers who are not in WA (Including NULL)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE TSQL2012; | |
SELECT custid, region, city | |
FROM Sales.Customers | |
WHERE ISNULL(region, '') <> 'WA' | |
WHERE region <> 'WA' | |
OR region IS NULL | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment