Write SQL queries to produce the following results: 1) List all students and cou
ID: 3822659 • Letter: W
Question
Write SQL queries to produce the following results:
1) List all students and courses they are registered for. Include, in this order, CustomerNumber, CustomerName, Phone, CourseNumber, and AmountPaid.
2) List the total amount paid for each course starting after July 4, 2009. Include, in this order, CourseNumber, CourseName, and total amount paid for that course.
3) List the average amount paid for each customer. Include, in this order, CustomerName and average amount paid by that customer.
4) List all students registered in the Adv. Pastels starting on October 1, 2009. Include, in this order, CourseName, CourseDate, Fee, CustomerName, and Phone.
COURSE CourseNumber Course CourseDate Fee 1 Adv Pastels 10/1/2009 $500.00 2 Beg Oils 9/15/2009 $350.00 3 Int Pastels 3/15/2009 $350.00 4 Beg Oils 10/15/2009 $350.00 5 Adv Pastels 11/15/2009 $500.00Explanation / Answer
SQL queries
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.