Quick
Ref.
Functions
- date
- number
- string
Data Types
- date
- number
- string
|
INSERT .. SELECT
The table games shows the year and the city hosting
the Olympic Games.
|
games
| yr | city |
| 2000 | Sydney |
| 2004 | Athens |
| 2008 | Beijing |
|
The INSERT SELECT statement adds a new row to the table based
on a SELECT statement:
In this example you run the next three Olympic games in
the same three venues:
|
Results
|
See also: | |