The SELECT statement is used to select data from a database.
The data returned is stored in a result table, called the result-set.
SELECT column1, column2, ...
FROM table_name;To select all available columns, use the asterisk (*) syntax:
SELECT * FROM table_name; Edit the code below and click Run to see the result live.