Skip
Arish's avatar

283. INSERT with SELECT


Copy Data Between Tables

sql
1INSERT INTO archive (name, course)
2SELECT name, course FROM students WHERE graduated = 1;

Insert results from SELECT.