SELECT Reference

Revision as of 10:03, 11 August 2012 by Andr3w (talk | contribs)
Jump to navigation Jump to search

The SELECT command is used to show data from a database.

The output from a SELECT statement is always a grid - with a number of rows and a number of columns. The simplest SELECT commands involve a single table:

SELECT name, population
  FROM bbc
 WHERE region='North America'