Question: Assignment # 2 MSIT 6 3 0 Database Systems Total: 5 0 points Consider the relation, r , shown below. Give the result of the

Assignment #2
MSIT 630 Database Systems
Total: 50 points
Consider the relation, r, shown below. Give the result of the following query: (5 points)
\table[[building,room_number,time_slot_id,course id,sec id],[Westley,359,A,BIO-101,1],[Westley,359,B,BIO-101,2],[Saucon,650,A,CS-101,2],[Saucon,550,C,CS-319,1],[Painter,705,A,BIO-305,1],[Painter,705,D,MU-199,1],[Painter,705,B,CS-101,1],[Painter,402,D,FIN-201,1]]
SELECT building, room_number, time_slot_id, count()
FROM r
GROUP BY building, room_number, time_slot_id with rollup;
Assignment # 2 MSIT 6 3 0 Database Systems Total:

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 Programming Questions!