diff --git a/Challenge Attempts/Challenge 1.1.sql b/Challenge Attempts/Challenge 1.1.sql new file mode 100644 index 0000000..ba5eda5 --- /dev/null +++ b/Challenge Attempts/Challenge 1.1.sql @@ -0,0 +1,8 @@ +SELECT + e.firstName AS 'First Name', + e.lastName AS 'Last Name', + e.title AS 'Title', + m.firstName AS 'Manager First Name', + m.lastName AS 'Manager Last Name' + FROM employee e + INNER JOIN employee m ON m.employeeID = e.managerId \ No newline at end of file diff --git a/Challenge Attempts/Challenge 1.2.sql b/Challenge Attempts/Challenge 1.2.sql new file mode 100644 index 0000000..e69de29 diff --git a/setup/cleanup.sql b/setup/cleanup.sql index e36c626..c998526 100644 --- a/setup/cleanup.sql +++ b/setup/cleanup.sql @@ -2,4 +2,4 @@ DROP TABLE employee; DROP TABLE customer; DROP TABLE model; DROP TABLE inventory; -DROP TABLE sales; \ No newline at end of file +DROP TABLE sales;