Beginning SQL Queries by Clare Churcher
Author:Clare Churcher
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA
As a small aside, many people wonder why this operation is called division, as it doesn’t seem to relate particularly well to something like 4 divided by 2. Division is the inverse (or undoing) of multiplication in normal arithmetic. For set operations, division is like the inverse of the Cartesian product. If you think of taking the Cartesian product of the two tables in the middle and far right of Figure 7-25, you will get a table with the same columns (but not rows) as on the far left of Figure 7-25.
We can answer a number of questions by changing what is on the right-hand side of the division operator. For example, if we wanted to know who had entered all the Open tournaments, we would replace the table in the middle of Figure 7-25 with just the rows for Open tournaments:
SELECT TourID
FROM Tour
WHERE TourType = 'Open';
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Access | Data Mining |
Data Modeling & Design | Data Processing |
Data Warehousing | MySQL |
Oracle | Other Databases |
Relational Databases | SQL |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8297)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6726)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6704)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6576)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6359)
Driving Data Quality with Data Contracts by Andrew Jones(6310)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6075)
Learning SQL by Alan Beaulieu(5994)
Weapons of Math Destruction by Cathy O'Neil(5778)
Big Data Analysis with Python by Ivan Marin(5358)
Data Engineering with dbt by Roberto Zagni(4354)
Solidity Programming Essentials by Ritesh Modi(4002)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3860)
Pandas Cookbook by Theodore Petrou(3572)
Blockchain Basics by Daniel Drescher(3292)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2905)
Feature Store for Machine Learning by Jayanth Kumar M J(2812)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2796)
Mastering Python for Finance by Unknown(2744)
