Create Database named as university_schema and then write the following queries in SQL, using the university_schema.

 

a. Find the titles of courses in the Comp. Sci. department that have 3 credits.

 

b. Find the IDs of all students who were taught by an instructor named Einstein; make sure there are no duplicates in the result.

 

c. Find the highest salary of any instructor.

 

d. Find all instructors earning the highest salary (there may be more than one with the same salary).

 

e. Find the enrollment of each section that was offered in Spring 2020.

f. Find the maximum enrollment, across all sections, in Spring 2020.

 

g. Find the sections that had the maximum enrollment in Spring 2020.

h. Write down the query for deleting any table from the above created database

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!