How to get columns from table in SQL

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

Get only specific columns from table

SELECT column1, column2

FROM table_name;

Get all columns from the table

SELECT * FROM table_name;

0 Comment's

Comment Form