SQL Tutorial: SELECT

The SELECT statement is used to select data from a database


SELECT column1, column2, column3, ...
FROM table_name;

We select all data from the Product table in the Northwind database

select *
from Products

sql select

You can select some columns in the Product table

select ProductID, ProductName, UnitPrice, UnitsInStock
from Products

select column sql

Related Posts