diff --git a/part1/Screenshot Part1.png b/part1/Screenshot Part1.png new file mode 100644 index 0000000..1c0bb54 Binary files /dev/null and b/part1/Screenshot Part1.png differ diff --git a/part1/part1.sql b/part1/part1.sql new file mode 100644 index 0000000..1f55d80 --- /dev/null +++ b/part1/part1.sql @@ -0,0 +1,2 @@ +SELECT productName, productLine, buyPrice FROM products +ORDER BY buyPrice DESC; \ No newline at end of file diff --git a/part2/Screenshot Part2.png b/part2/Screenshot Part2.png new file mode 100644 index 0000000..9f4e3d3 Binary files /dev/null and b/part2/Screenshot Part2.png differ diff --git a/part2/part2.sql b/part2/part2.sql new file mode 100644 index 0000000..303dd8c --- /dev/null +++ b/part2/part2.sql @@ -0,0 +1,3 @@ +SELECT contactFirstname, contactLastName, city +FROM customers WHERE country= "Germany" +ORDER BY contactLastName ASC; \ No newline at end of file diff --git a/part3/Screenshot Part3.png b/part3/Screenshot Part3.png new file mode 100644 index 0000000..7fbdcdf Binary files /dev/null and b/part3/Screenshot Part3.png differ diff --git a/part3/part3.sql b/part3/part3.sql new file mode 100644 index 0000000..495b229 --- /dev/null +++ b/part3/part3.sql @@ -0,0 +1,2 @@ +SELECT DISTINCT STATUS FROM orders +ORDER BY status ASC; diff --git a/part4/Screenshot Part4.png b/part4/Screenshot Part4.png new file mode 100644 index 0000000..719463a Binary files /dev/null and b/part4/Screenshot Part4.png differ diff --git a/part4/part4.sql b/part4/part4.sql new file mode 100644 index 0000000..7022c94 --- /dev/null +++ b/part4/part4.sql @@ -0,0 +1,3 @@ +SELECT * FROM payments +WHERE paymentDate >= "2005-01-01" +ORDER BY paymentDate ASC; \ No newline at end of file diff --git a/part5/Screenshot Part5.png b/part5/Screenshot Part5.png new file mode 100644 index 0000000..c567b90 Binary files /dev/null and b/part5/Screenshot Part5.png differ diff --git a/part5/part5.sql b/part5/part5.sql new file mode 100644 index 0000000..28d1410 --- /dev/null +++ b/part5/part5.sql @@ -0,0 +1,3 @@ +SELECT lastName, firstName, email, jobTitle FROM employees +WHERE officeCode=1 +ORDER BY lastName ASC; \ No newline at end of file diff --git a/part6/Screenshot Part6.png b/part6/Screenshot Part6.png new file mode 100644 index 0000000..65ee9bd Binary files /dev/null and b/part6/Screenshot Part6.png differ diff --git a/part6/part6.sql b/part6/part6.sql new file mode 100644 index 0000000..1916030 --- /dev/null +++ b/part6/part6.sql @@ -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; \ No newline at end of file