Refer the given table and answer the question that follow: TABLE : CLIENT Client_no Client_Name | Address DELL Order_Date AMERICA 05-05-2018 KINGDOM 10-10-1998 12-08-2010 10-07-1998 C100 C101 C102...

Only answer for (a) and (b) and (c)Refer the given table and answer the question that follow:<br>TABLE : CLIENT<br>Client_no Client_Name | Address<br>DELL<br>Order_Date<br>AMERICA 05-05-2018<br>KINGDOM 10-10-1998<br>12-08-2010<br>10-07-1998<br>C100<br>C101<br>C102<br>C103<br>TABLE : CLIENT_DETAILS<br>Client_no<br>|C100<br>SANDISK<br>SAMSUNG KOREA<br>LENOVO<br>JAPAN<br>Order_No Product<br>Cost<br>Quantity Status<br>RO01<br>JIOCLASS<br>100.40<br>SMARTWATCH 300.50<br>3000<br>PROGRESS<br>DELIVERED<br>PROGRESS<br>DELIVERED<br>PROGRESS<br>a. Write an SQL query to display client_no, check the quantity, and display the types of<br>C101<br>C102<br>C103<br>C104<br>R002<br>4000<br>600.10 2000<br>4000<br>400<br>RO01<br>SPYCAMERA<br>R003<br>R002<br>IROBOT<br>RADAR<br>500.00<br>Customer based on the condition given below (USE CASE EXPRESSION]<br>IF it is 4000, then return 'GOLD'<br>IF it is 3000, then retum 'SILVER'<br>IF it is 2000, then retum 'BRONZE'<br>ELSE retum 'OTHERS'<br>b. Write an SQL query to display client_no,client_name, product where the quantity is 2000 or<br>4000. [Use - LEFT OUTER JOIN]<br>c. Write an SQL query to display the client_no, order_date who ordered before the client 'C102';<br>[Hint: Use Subquery].<br>d. Write an SQL query to display the client_no,order_no,status from client (matched rows), and<br>client_details (matched rows), arrange of cost using nulls first. [Use INNER JOIN].<br>Act<br>Go<br>

Extracted text: Refer the given table and answer the question that follow: TABLE : CLIENT Client_no Client_Name | Address DELL Order_Date AMERICA 05-05-2018 KINGDOM 10-10-1998 12-08-2010 10-07-1998 C100 C101 C102 C103 TABLE : CLIENT_DETAILS Client_no |C100 SANDISK SAMSUNG KOREA LENOVO JAPAN Order_No Product Cost Quantity Status RO01 JIOCLASS 100.40 SMARTWATCH 300.50 3000 PROGRESS DELIVERED PROGRESS DELIVERED PROGRESS a. Write an SQL query to display client_no, check the quantity, and display the types of C101 C102 C103 C104 R002 4000 600.10 2000 4000 400 RO01 SPYCAMERA R003 R002 IROBOT RADAR 500.00 Customer based on the condition given below (USE CASE EXPRESSION] IF it is 4000, then return 'GOLD' IF it is 3000, then retum 'SILVER' IF it is 2000, then retum 'BRONZE' ELSE retum 'OTHERS' b. Write an SQL query to display client_no,client_name, product where the quantity is 2000 or 4000. [Use - LEFT OUTER JOIN] c. Write an SQL query to display the client_no, order_date who ordered before the client 'C102'; [Hint: Use Subquery]. d. Write an SQL query to display the client_no,order_no,status from client (matched rows), and client_details (matched rows), arrange of cost using nulls first. [Use INNER JOIN]. Act Go

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here