previous | index | next

Querying a Table

Basic syntax:
   SELECT column1, column2, ... FROM table;

   SELECT column1, column2, ... FROM table 
      WHERE condition;

Examples:

Query Result
SELECT name, birth FROM pet;
SELECT * FROM pet;
SELECT name FROM pet WHERE owner = 'Gwen';


previous | index | next