Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

Identify the three common categories of persuasive messages. [LO-3]

Answered: 1 week ago