Account
Categories

SELECT Command: Specific Columns


When you want to select data, type the SELECT statement like SELECT * FROM table_name;
It will display all records from the specified table.

Note: If you want to fetch only specific columns, then mention column names instead of *.

Syntax:

SELECT column1, column2, ... FROM table_name;