https://github.com/oakmac/northwind-sql-questions
practice SQL questions for the Northwind database
https://github.com/oakmac/northwind-sql-questions
Last synced: about 2 months ago
JSON representation
practice SQL questions for the Northwind database
- Host: GitHub
- URL: https://github.com/oakmac/northwind-sql-questions
- Owner: oakmac
- Created: 2020-05-02T18:00:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-02T18:00:32.000Z (about 6 years ago)
- Last Synced: 2025-01-28T17:26:21.550Z (over 1 year ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Northwind SQL Questions
From [YugabyteDB](https://docs.yugabyte.com/latest/sample-data/northwind/):
> The Northwind database is a sample database that was originally created by Microsoft and used as the basis for their tutorials in a variety of database products for decades. The Northwind database contains the sales data for a fictitious company called “Northwind Traders,” which imports and exports specialty foods from around the world. The Northwind database is an excellent tutorial schema for a small-business ERP, with customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting. The Northwind database has since been ported to a variety of non-Microsoft databases, including PostgreSQL.
You can find a copy of the northwind database for PostgreSQL [here](https://github.com/pthom/northwind_psql/blob/d3e04e4952b834ece16adb7d5a5880c44dc2d485/northwind.sql).
## Practice Questions that require JOINs
- Who are our suppliers who provide Beverages?
- Who are our suppliers who provide Confections?
- How many orders were there in the Tampa territory for Q2 1997? (Q2 is April 1 - June 30)
- Which employees have sold orders to customers in Germany?