Exercise: Copy High Scorers
Copy students with marks > 90.
Solution
sql
1INSERT INTO honor_roll (name, marks)
2SELECT name, marks FROM students WHERE marks > 90;
Copy students with marks > 90.
1INSERT INTO honor_roll (name, marks)
2SELECT name, marks FROM students WHERE marks > 90;