Question: We are designing a university database system that will be accessed by multiple uses, namely University Administrators, Contact Tracers, and Facility Managers. University Administrators: are

We are designing a university database system that will be accessed by multiple uses, namely University Administrators, Contact Tracers, and Facility Managers. University Administrators: are interested in ranking departments based on the average time people who belong to that department spend in the regions controlled by the department (the larger the time more hardworking, the people in that department). In particular, they want to visualize a leaderboard showing each department and its rank based on the average time (total time of all visits/number of unique users). A department with the highest average time is ranked no. 1, second highest no. 2 and so on. Note that time spent at a location during one visit is given by (end_time - start_time). build a view for University Administrator and show the result using the select * from view command:

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!