The simplest retrievals fetch information from one table.
The general form of the simple
SELECTstatement is:SELECT column-list FROM table_name WHERE condition;
The column-list specifies which columns to select, and the
WHEREcondition determines which rows to select. If no
WHEREcondition is specified, all rows are retrieved from the source table or view.
Examples of Simple Retrieval
Find the format identifiers and their meaning:SELECT format_id, format FROM formats;
Find the name and code for all countries that use Australian dollars (AUD).SELECT country, code FROM countries WHERE currency_code = 'AUD';
How to formulate selection conditions is described in detail in Selecting Specific Rows.
Mimer Information Technology AB
Phone: +46 18 780 92 00