× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
s
3
v
3
p
3
m
2
s
2
d
2
N
2
d
2
e
2
s
2
s
2
e
2
New Topic  
banoshaher banoshaher
wrote...
Posts: 648
Rep: 0 0
6 years ago
Which of the following is a valid SQL statement?
 a. SELECT SUM(quantityretail) Total SalesFROM orders JOIN orderitems ON orders.order = orderitems.orderJOIN books ON orderitems ON orderitems.ISBN = books.ISBNWHERE orderdate = '02-APR-03';
  b. SELECT SUM(quantityretail) Total SalesFROM orders JOIN orderitems ON orders.order = orderitems.orderJOIN books ON orderitems ON orderitems.ISBN = books.ISBNHAVING orderdate = '02-APR-03';
  c. SELECT customer, SUM(quantityretail) Total SalesFROM orders JOIN orderitems ON orders.order = orderitems.orderJOIN books ON orderitems ON orderitems.ISBN = books.ISBNHAVING orderdate = '02-APR-03';
  d. SELECT customer, SUM(quantityretail) Total SalesFROM orders JOIN orderitems ON orders.order = orderitems.orderJOIN books ON orderitems ON orderitems.ISBN = books.ISBNHAVING orderdate = '02-APR-03'GROUP BY customer;
Read 40 times
1 Reply
Replies
Answer verified by a subject expert
ashxeveashxeve
wrote...
Top Poster
Posts: 917
Rep: 1 0
6 years ago
Sign in or Sign up in seconds to unlock everything for free
1

Related Topics

banoshaher Author
wrote...

6 years ago
This calls for a celebration Person Raising Both Hands in Celebration
wrote...

Yesterday
Helped a lot
wrote...

2 hours ago
Thanks
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1236 People Browsing
Related Images
  
 454
  
 409
  
 187