The SELECT statement is used to retrieve data from one or more tables. It is the most commonly used SQL command.
SELECT *
FROM table_name;SELECT firstname, lastname
FROM employees;- Select
Allcolumns fromaddreestype. - Select only
addressidandaddresstypeidfromaddress.