SELECT Statement

The SELECT statement is used to query the database.

SELECT first_name, last_name FROM employees;

You can also fetch all columns using *:

SELECT * FROM employees;