Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added part1/Screenshot Part1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions part1/part1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SELECT productName, productLine, buyPrice FROM products
ORDER BY buyPrice DESC;
Binary file added part2/Screenshot Part2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions part2/part2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SELECT contactFirstname, contactLastName, city
FROM customers WHERE country= "Germany"
ORDER BY contactLastName ASC;
Binary file added part3/Screenshot Part3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions part3/part3.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SELECT DISTINCT STATUS FROM orders
ORDER BY status ASC;
Binary file added part4/Screenshot Part4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions part4/part4.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SELECT * FROM payments
WHERE paymentDate >= "2005-01-01"
ORDER BY paymentDate ASC;
Binary file added part5/Screenshot Part5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions part5/part5.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SELECT lastName, firstName, email, jobTitle FROM employees
WHERE officeCode=1
ORDER BY lastName ASC;
Binary file added part6/Screenshot Part6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions part6/part6.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SELECT productName, productLine, productScale, productVendor
FROM products
WHERE productLine = "Classic Cars" OR productLine = "Vintage Cars"
ORDER BY productLine DESC, productName ASC;