Question: Using MySQL Workbench and the sample relational database that we imported during class, write a QUERY that returns information about ORDERS ( orderNumber , orderDate

Using MySQL Workbench and the sample relational database that we imported during class, write a QUERY that returns information about ORDERS (orderNumber, orderDate) along with corresponding CUSTOMER details (customerNumber, customerName), PRODUCT details (productCode, productName) along with corresponding PRODUCT LINE details (productLine), and associated EMPLOYEE sales representative details (employeeNumber, lastname aliased as SalesRepLastName) for the CUSTOMER using INNER JOINS only. The result should return a comprehensive set of information from ORDERS, CUSTOMERS, PRODUCTS, PRODUCTLINES, and EMPLOYEES. (refer to the relational diagram posted under lecture notes to help guide you) IMPORTANT: your screenshot MUST include your own name for the schema as proof of your work. No credit will be given if your own database is not present in the screenshot.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!