[Solved] MSDS7330 Mini Project 2-MySQL Database

$25

File Name: MSDS7330_Mini_Project_2-MySQL_Database.zip
File Size: 357.96 KB

SKU: [Solved] MSDS7330 Mini Project 2-MySQL Database Category: Tag:
5/5 - (1 vote)

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, dont 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:

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] MSDS7330 Mini Project 2-MySQL Database
$25