Answer Key
Answer Key
Answer Key
Consider the table SHOPPE given below. Write command in MySql for
(i) to (vi) and output for (vii) to(viii).
SELECT Item from SHOPPE WHERE Item like “ C%” ORDER BY Price;
SELECT Code , Item, City FROM SHOPPE WHERE Qty between 50 and100;
SELECT Count (distinct Company) FROMSHOPPE;
INSERTINTOSHOPPEVALUES(“110”,“Pizza”,“Domino”,120,”Kolkata”,50.0);
Consider the following tables item and Customer. Write SQL Commands
for the statement to(iv)and give outputs for SQL queries (v)to(viii).