Question: Use the following SELECT statement to answer the questions: 1 SELECT customer# , COUNT ( * ) 2 FROM customers JOIN orders USING ( customer#

Use the following SELECT statement to answer the questions:
1 SELECT customer#, COUNT(*)
2 FROM customers JOIN orders USING(customer#)
3 WHERE orderdate >'02-APR-09'
4 GROUP BY customer#
5 HAVING COUNT(*)>2;
Which line of the SELECT statement is used to group data stored in the database?
Question 14 options:
1
3
4
5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!