Loading lesson path
Concept visual
Start at both ends
statement is used to copy data from an existing table and insert it into another existing table.
statement requires that the data types in source and target tables match.
The existing records in the target table are unaffected.
Copy all columns from one table to another table:
target_table
SELECT * FROMsource_table
condition
;If you omit the column names, the number and order of columns in the source and target tables must be exactly the same! Copy only some columns from one table to another table:
target_table ( column1, column2, column3, ...)
column1, column2, column3, ...
source_table
condition
;Below is a selection from the "Customers" table:
Obere Str. 57
12209