diff --git a/sales_agent_invoices.sql b/sales_agent_invoices.sql new file mode 100644 index 0000000..7741fff --- /dev/null +++ b/sales_agent_invoices.sql @@ -0,0 +1,14 @@ +SELECT + EMPLOYEE.FirstName, EMPLOYEE.LastName, InvoiceId +FROM + Employee +INNER JOIN + INVOICE +ON + CUSTOMER.CustomerId = INVOICE.CustomerId +INNER JOIN + Customer +ON + Customer.SupportRepId = Employee.EmployeeId +ORDER BY + InvoiceId ASC; \ No newline at end of file