Home / Expert Answers / Computer Science / subject-database-concept-and-design-given-a-database-as-below-write-a-query-to-the-follow-pa318

(Solved): Subject : Database Concept and design Given a database as below: Write a query to the follow ...



Subject : Database Concept and design

Given a database as below:
Write a query to the following scenarios:
a) Display name and commission for all the salesmen [2 m

d) Display the order number, order date and the purchase amount for order(s) which will be delivered by the salesman with ID

Given a database as below: Write a query to the following scenarios: a) Display name and commission for all the salesmen [2 marks] b) Show the winner of the 1971 prize for Literature. [2 marks] c) Find all those customers with all information whose names are ending with the letter ' '. [3 marks] d) Display the order number, order date and the purchase amount for order(s) which will be delivered by the salesman with ID 5001. [4 marks] e) Retrieve salesman id of all salesmen from orders table without any repeats. [4 marks] f) Find customer in which the salesman who worked for him was from Paris and his purchased amount is more than . Return Customer Name name as "Customer", Salesman name name as "Salesman", and Purchase amount Name as "Total Purchase". [5 marks]


We have an Answer from Expert

View Expert Answer

Expert Answer


ANS:Here are the solutions for all the queries.a)ANS:SELECT name, commissionFROM salesman;Output:b)ANS:SELECT winnerFROM nobel_winWHERE year = 1971AND
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe