Skip to Content
Beginning SQL Queries: From Novice to Professional, Second Edition
book

Beginning SQL Queries: From Novice to Professional, Second Edition

by Clare Churcher
July 2016
Beginner
256 pages
6h 44m
English
Apress
Content preview from Beginning SQL Queries: From Novice to Professional, Second Edition

© Clare Churcher 2016

Clare Churcher, Beginning SQL Queries, 10.1007/978-1-4842-1955-3_7

7. Set Operations

Clare Churcher

(1)Studio B Productions, Great Neck, New York, USA

One of the great strengths of relational database theory is that the tables (or, more formally, the relations) are made up of distinct rows and so can be considered a set. We can then use set operations to help with combining and extracting specific information. The types of questions that set operations help with are those such as “which people are in both these sets?” or “which people are in this set but not that one?”

In Appendix 2 you can find some formal notation that is helpful with managing set operations. In this chapter we will keep formalities to a minimum, but the symbols ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SQL Primer: An Accelerated Introduction to SQL Basics

SQL Primer: An Accelerated Introduction to SQL Basics

Rahul Batra
Effective SQL: 61 Specific Ways to Write Better SQL, First Edition

Effective SQL: 61 Specific Ways to Write Better SQL, First Edition

John L. Viescas, Douglas J. Steele, Ben G. Clothier

Publisher Resources

ISBN: 9781484219553Purchase book