[SOLVED] MSDS7330 Mini Project 2-MySQL Database 

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon MiniProject2-9rebhd.zip (912.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

MySQL Database

Question 1: Create a database called “University”. Load the data and execute SQL queries..

I have attached scripts to create the University relations and also to add data. Once you have created the schema and loaded the data. Create SQL queries to answer the following questions:

  1. Produce a list of all the students in the student relation, including their ID, name and department name, sorted into ascending order by their name.
  2. Produce a list of the names and salaries of professors in the Comp. Sci. and Elec. Eng. departments ordered by decreasing salary.
  3. Find all courses whose identifier starts with the string ”CS-1”
  4. Find the maximum and minimum enrollment across all sections, considering only sections that had some enrollment, don’t worry about those that had no students taking that section
  5. Create a view faculty showing only the ID, name, and department of instructors.
  6. Create a view “CSinstructors”, showing all information about instructors from the Comp. Sci. department.

Capture the sequence of queries and resulting output thereby demonstrating your database in operation. Turn in a pdf of screenshots of your database in operation.

Collaborators:

Resources:

  • MiniProject2-9rebhd.zip