The SELECT statement is used to retrieve the data from a database table in the form of result sets.
Syntax of SELECT to fetch all columns:
SELECT * FROM tableName;
Example:
Output:
Syntax of SELECT to fetch specific columns:
SELECT column1, column2, columnN FROM tableName;
No comments:
Post a Comment