Skip
Arish's avatar

203. Practice - UNION 1


Exercise: Combine Names

Get all names from students and teachers.

Solution

sql
1SELECT name FROM students
2UNION
3SELECT name FROM teachers;