Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

12. Assume that small sections have less than 30 students, medium sections have at least 30 students but less than 80, and large sections have

image text in transcribed

12. Assume that small sections have less than 30 students, medium sections have at least 30 students but less than 80, and large sections have at least 80 students Your result table should have the following rows and columns: deptid |small medium|large CS math Each table entry must have the number of sections of a given size offered by each department. 13. List of professors that work for departments with more than 20 faculty members and that offer more large sections than small and medium sections combined 14. Assume grades are A, B, C, D, F where D and F are failing grades. For each course (section) find the percentage of students that failed the course. 15. Find the name of the professor with the maximum percentage of students that failed his course 16. On average what percentage of students fail a course? (total number of students that failed a course / total number of enrolled students) 17. Find a list of courses (sections) where the percentage of students with D or F is greater than average. 18. Write a query that produces the following table: deptid | SPS 1% A 1% B 1% C 1% D 1% F CS math Where SPS is the average number of students in each section and column %A has the per- centage of students that got an A, and so on, over all the courses offered by each department. 12. Assume that small sections have less than 30 students, medium sections have at least 30 students but less than 80, and large sections have at least 80 students Your result table should have the following rows and columns: deptid |small medium|large CS math Each table entry must have the number of sections of a given size offered by each department. 13. List of professors that work for departments with more than 20 faculty members and that offer more large sections than small and medium sections combined 14. Assume grades are A, B, C, D, F where D and F are failing grades. For each course (section) find the percentage of students that failed the course. 15. Find the name of the professor with the maximum percentage of students that failed his course 16. On average what percentage of students fail a course? (total number of students that failed a course / total number of enrolled students) 17. Find a list of courses (sections) where the percentage of students with D or F is greater than average. 18. Write a query that produces the following table: deptid | SPS 1% A 1% B 1% C 1% D 1% F CS math Where SPS is the average number of students in each section and column %A has the per- centage of students that got an A, and so on, over all the courses offered by each department

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions