You are on page 1of 1

SELECT: The SELECT statement allows you to fetch data from tables or views.

The result of the


SELECT statement is called a result set that is a list of rows, each consisting of the same number of
columns. With the help of SELECT statement we can perform multiple tasks like:
 Querying Data: This is a simple mechanism of retrieving information from tables, following
are different ways to retrieve information:
o Select all attributes and tuples from a table:
SELECT * FROM table_name;

o Select few attributes and all tuples from a table:


SELECT attribute_list(comma separated) FROM table_name;

You might also like