BY : Shan-Chun Niki YANG
I will use the following SQL commands in this analysis.
SELECT, FROM
AS, WHERE, AND, OR, LIKE, IS NULL, LIMIT, ORDER BY
COUNT, MIN, MAX, GROUP BY, HAVING
JOIN, LEFT JOIN, CROSS JOIN, WITH
<aside> š” Disclaimer: This is an extended exercise from the course Analyze Data with SQL on Cocademy. All data used here belongs to Cocademy.
</aside>
The Codecademy Times (fictional) is a newspaper with two types of subscriptions:
Some users subscribe to just the newspaper, some subscribe to just the online edition, and some subscribe to both. These information is stored in the following tables :
newspaper
Ā tableĀ contains information about the newspaper subscribers.