English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The NOT command is used with WHERE to query rows where the condition is not met.
The following SQL statement selects all fields from the 'Customers' table where the country is not 'Germany':
SELECT * FROM Customers WHERE NOT Country='Germany';