The SELECT statement is used to select data from SQL database table. This is usually the very first command every SQL newbie learns and this is because the SELECT statement is one of the most used SQL commands.
Please have a look at the general SELECT syntax:
SELECT Column1, Column2, Column3,
|
The list of column names after the SELECT command determines which columns you want to be returned in your result set. If you want to select all columns from a database table, you can use the following SQL statement:
SELECT *
|
No comments:
Post a Comment