Select in SQL

< Statements in SQL

SELECT statements are used to fetch data from a database.

You can specify the columns you want to fetch: SELECT name FROM celebs;

Or you can use a wildcard to see all columns: SELECT * FROM celebs;

Most SQL databases will select the rows in the order that they appear in the table, from top to bottom.