Question: Using the below University schema, write a SQL query that returns the Departmen:Head for Departments where at least 50% of NumberOfStudents are enrolled in at


Using the below University schema, write a SQL query that returns the Departmen:Head for Departments where at least 50% of NumberOfStudents are enrolled in at least one course Input Format The Students, Enrollments, Courses and Departments table are defined as follows Students Column Name Netld FirstName LastName Department Type VARCHAR(10) VARCHAR(255) VARCHAR(255) VARCHAR(100) Enrollments Column Name Type VARCHAR(10) INT INT REAL Netld CRN Credits Score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
