Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 699 Bytes

File metadata and controls

28 lines (21 loc) · 699 Bytes

SELECT Statement

The SELECT statement is used to retrieve data from one or more tables. It is the most commonly used SQL command.

Select All Columns

SELECT *
FROM table_name;

Select Specific Columns

SELECT firstname, lastname
FROM employees;

Practice Exercises

  • Select All columns from addreestype.
  • Select only addressid and addresstypeid from address.

Previous: Relational Databases | Next: Filtering Data