Advertisement
Guest User

sqlshite1

a guest
Jan 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. There are 2 tables:
  2.  
  3. PRODUCT [pcode, name, eprice, category, pieces, manufacturer]
  4. COMPLAINT[ccode, product, date, buyer, level]
  5.  
  6. Give the following operations SQL form:
  7. 1, give a "description" field to the COMPLAINT table
  8. 2, pieces per manufacturer
  9. 3, decreas eprice by 10% where there is at least 5 complaints
  10. 4, list out the number of level 3 complaints per manufacturer
  11. 5, in which category there are the lowest number of complaints
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement