SQL Quries and Syntax
SQL Quries and Syntax
If you omit the DISTINCT keyword, the SQL statement returns the "Country" value
from all the records of the "Customers" table:
By using the DISTINCT keyword in a function called COUNT, we can return the number
of different countries.
Note: The WHERE clause is not only used in SELECT statements, it is also used in
UPDATE, DELETE, etc.!