- the data column using
SELECT column
- the table name using
FROM mytable
- the data rows by defining a condition using
WHERE condition
- to prevent duplicte,
DISTINCT
keyword can be used. - to sort the data in ascending or descending order,
ORDER
keyword can be used.