Write Ten SQL SELECT statements to query the STUDENT schema you created for practice lab 1. Your Select Statements should run error-free and should be valid.

Submit two separate files: one plain text file (.txt or .sql file) with your SELECT statements only; and the other document (doc/docx/pdf) include both your SELECT statements and your query results (copy and paste text or screen shots). The instructor and TA should be able to run your plain text source file as script and generate the same output as shown in your result document.

1. Show the number of instructors who have a zip of 10025 and a the street number of 518.

2. Display all students who live in the state of MA. List first name, last name, zip, and city. Sort by city (descending), zip (ascending), and last name (ascending).

3. List all zipcodes where at least three students AND at least four instructors reside. Show zip, state and city.

4. List all cities that have 10 or more students and instructors 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.

5. List the instructor id and name of the instructors that teach fewer than 10 sections.

6. List all students (display student_id, first name, last name, andregistration date) who registered on or after 2/23/2007 but have not enrolled in any course.

7. Find how many students are enrolled in sections taught by Todd Smythe.

8. List the students who have received any numeric grade score of at least 95 in an Advanced Java Programming course. Show student name, the grade type code, and the numeric grade.

9. List the instructors who teach Advanced Java Programming, without duplication. Show instructor name and course name.

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

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.