Section 04:10 Points Consider the following schema classroom(building, room_number, capacity) department (dept name, bui

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Section 04:10 Points Consider the following schema classroom(building, room_number, capacity) department (dept name, bui

Post by answerhappygod »

Section 04 10 Points Consider The Following Schema Classroom Building Room Number Capacity Department Dept Name Bui 1
Section 04 10 Points Consider The Following Schema Classroom Building Room Number Capacity Department Dept Name Bui 1 (318.05 KiB) Viewed 31 times
Section 04 10 Points Consider The Following Schema Classroom Building Room Number Capacity Department Dept Name Bui 2
Section 04 10 Points Consider The Following Schema Classroom Building Room Number Capacity Department Dept Name Bui 2 (228.14 KiB) Viewed 31 times
Section 04:10 Points Consider the following schema classroom(building, room_number, capacity) department (dept name, building, budget) course(course id, title, dept_name, credits) instructor(ID, name, dept_name, salary) section (course_id, sec_id, semester, year, building, room_number, time_slot id) teaches(ID, course_id, sec_id, semester, year) student(ID, name, dept name, tot.cred) takes(ID, course_id, sec_id, semester, year, grade) advisor(s_ID, iJD) time_slot(time_slot id, day, start_time, end_time) prereq(course id, prereq_id)
write a SQL function that takes nothing as parameter but returns number of records in cross join between instructor and department tables. (ii) Considering above schema, create a view which will allow corresponding users to see only name of the department with total salary of instructors of corresponding department. to points [4 points]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply