Question: need solution for this question Salesperson Customer Orders a) Write SQL query to CREATE the Orders table assuming Salesperson and Customer tables are already created.



need solution for this question
Salesperson Customer Orders a) Write SQL query to CREATE the Orders table assuming Salesperson and Customer tables are already created. All columns are mandatory b) Write SQL query to find the unique customer ids from Orders. c) Write the Possible Query in English words that may have resulted in the SQL query as below. [2 Marks] SELECT name, salary/12 AS "monthly salary" FROM salesperson WHERE age >=40; Write the corresponding English Query question asked by the client for which the SQL query above was formulated. d) Write SQL query to find the 2nd highest sales amount from the Orders table in the year 1998
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
