Problem
Sie möchten eine neue Tabelle mit Daten aus einer bestehenden Tabelle erstellen.
Lösung
CREATE TABLE florist AS SELECT * FROM product WHERE category = 'flower';Alternativ:
SELECT id, name, price INTO florist FROM product WHERE category = 'flower';CREATE TABLE AS SELECT ist Standard-SQL. SELECT INTO wird von vielen Datenbanksystemen unterstützt.