Grasping The Keyword in SQL

SQL's special `DISTINCT` keyword` is an vital tool for getting only the different entries from a query outcome. Imagine you have a table of customers, and you want to know how many different cities are listed. Using `SELECT city FROM customers;` would potentially give a enumeration with repeated city titles. However, `SELECT DISTINCT city FROM cust

read more