Question: Answer each request about the university database below with an SQL query. Produce a list of students and their IDs who enrolled in some section

Answer each request about the university database below with an SQL query.

Produce a list of students and their IDs who enrolled in some section of algebra in 2017.

Produce a list of courses (not sections) offer?ed by the mathematics department in 2017.

Determine the number of courses offered by each department in 2016.

Determine the total enrollment in each section of courses offered in 2017.

Determine the number of sections taught by Professor Einstein in 2016.

Determine the year Professor Brando started teaching.

Determine the total number of sections Professor Turing has taught of the compilers course.

Determine the total number of As Amy (Id #2) has earned.

Determine the number of professors who have taught the database systems course.

Determine the number of years Professor Brando has been teaching.

Determine the number of students who graduated in 2017.

Determine the number of students who enrolled in at least one section of a course in 2017.

Answer each request about the university database below with an SQL query.

Some sample data STUDENT DEPT Sid SName GradYear Majorld DId DName 1 Joe 2018 2 amy 2018 max 2017 sue 2016 5 bob 2015 6 kim 2015 2017 pat 2016 9 lee 2017 2018 11 tom 2018 10 20 10 20 30 20 30 20 10 20 10 computer science 20 mathematics 30 drama 7 art 10 ali COURSE SECTION Deptld Sectld Courseld Prof YearOffered 2017 2018 2017 CId Number Title 12 466 databases 10 22 395 32 300 calculus 42 200 algebra 52 350 acting 62 400 elocution 10 20 20 30 30 13 12 23 12 32 43 32 53 62 63 42 turing turing newton einstein brando newton compliers 2017 2017 ENROLL Eld StudentId Sectionld Grade 24 34 13 43 43 53 53 43 63 23 54 74 84 94 null

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!