Write Advanced queries using Aggregate Functions and Table Joins. You will write 10 SQL SELECT… 1 answer below »

Relax! Stop worrying about deadlines and let our professional writers help you. Hire an essay writer helper and receive a professional assignment before your deadline. We provide writing services for all types of academic assignments.

Order a Similar Paper Order a Different Paper

Write Advanced queries using Aggregate Functions and Table Joins. You will write 10 SQL SELECT statements to query the STUDENT schema. Your Select Statements should run error-free and should be valid.

Submit files in plain text file (.txt or .sql file)

TA should be able to run your plain text source file as script and generate the same output as shown in your result document.

Q1. List all courses that have “Intro to Information Systems” as prerequisite. (HINT: use a subquery)

Q2. List all courses with above average cost. Display course description, cost, and the average cost of all courses. (HINT: use a subquery)

Q3. For each zip that has at least one instructor, list the total number of instructors in that zipcode.

Q4. For each city in the state of CT, list the total number of students live in that city. Display city, state, number of students in descending order.


Q5. Find the minimum, maximum, and average grade of final exams in sections taught by Todd Smythe.

Q6: For all students who took “Intro to Information Systems”, calculate the highest, lowest, and average midterm exam grade for each section. Display Section No and calculation results.


Q7. List the instructor id and name of the instructors that teach fewer than 10 sections regardless of student enrollment.

Q8. Show which city has the most students. Display city and state, and number of students.

Q9: List all zipcodes where at least three students AND at least four instructor reside. Show zip, state and city.

Q10: List all cities that have 10 or more students and instructor combined. Show city, state, number of student residents, number of instructor residents, and total student/instructor residents in that city. Sort by total in descending order.


Great students hand in great papers. Order our essay service if you want to meet all the deadlines on time and get top grades. Professional custom writing is the choice of goal-focused students. Word on the online streets is... we're simply the best!

Get a 15% discount on your order using the following coupon code SAVE15

Order a Similar Paper Order a Different Paper