HOW TO USE SELECT IN SQL?

307 viewsSQLSQL
0

HOW TO USE SELECT IN SQL?

Saraswat World Changed status to publish June 14, 2023
0
SELECT In SQL
SELECT In SQL
SELECT

SELECT statement is used to access records from a database. The table which stores the record returned by the SELECT statement is called a result-set table.

Syntax-

SELECTย column_name1, column_name2, โ€ฆcolumn_nameN

FROMย <table_name>;

Description-

The column_name1, column_name2, โ€ฆcolumn_nameN are the name of those columns in the table whose data we want to read or access.

Syntax-

SELECT *

FROMย <table_name>;

Description-

To access all records from given table, use the above SQL SELECT syntax with * asterisk sign.

Saraswat World Changed status to publish June 14, 2023
Write your answer.

Posted

in

Tags:

Comments

Leave a Reply

A Tribute to Dilip Kumar