Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Recap and review the SQL Set Operations we learned.
As with the other topics we’ve covered in this series, there is a wealth of information available on the topic of sets, databases, and SQL.
Check out this great read on Set Theory and SQL: “SQL-99 Complete, Really”, by Peter Guzman & Trudy Pelzer hosted on MariaDB
The link above contains more than just UNION, INTERSECT and EXCEPT, but there is a section towards the end that applies those operations to the larger discussion. This is a wonderful article!
Other good reads about Set Operations include:
Union and Union All:
SQL UNION Operator
SQL - UNIONS Clause
Intersect:
SQL - INTERSECT Clause
SQL Server: INTERSECT Operator
Except:
SQL - EXCEPT Clause
SQL Server: EXCEPT
Cheat Sheet
See all of the SQL used in Querying Relational Databases in the Querying Relational Databases Cheat Sheet.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Wen Yan Cheong
1,482 Points1 Answer
-
Terry Zhong
4,058 Points1 Answer
-
lukej
34,222 Points2 Answers
-
Ahmed Mohamed Fouad
11,735 Points7 Answers
-
Sean Flanagan
33,236 Points2 Answers
-
Angel Avendaño
5,013 Points1 Answer
-
Danny Zhang
2,014 PointsEXCEPT will return duplicate rows in table 1? or just unique rows in table 1?
Posted by Danny ZhangDanny Zhang
2,014 Points1 Answer
-
David Wright
4,437 Points8 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up