SELECT statement in relational databases

The SELECT statement is used in databases to retrieve data from one or more tables. It is one of the most fundamental SQL commands in Relational Database Management Systems (RDBMS) such as MySQL, PostgreSQL, SQL Server, and Oracle.


Basic Syntax:

SELECT column1, column2, ...  

FROM table_name;

SELECT: Specifies the columns to retrieve.

FROM: Indicates the table from which data is fetched.


Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator