Which SQL statement is used to extract data from a database?
Select indicates that pick the items(fields) from table(s).
SELECT field1, field2 FROM some_table
  • The SQL SELECT Statement

    The SELECT statement is used to select data from a database.
    The result is stored in a result table, called the result-set.

    SQL SELECT Syntax

    SELECT column_name,column_name
    FROM table_name;
    SELECT * FROM table_name;
    Read more: The SQL SELECT Statement

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
SQL quizzes
Sign Up Now
or Subscribe for future quizzes