Question: -- QUESTION 6 -- ========== -- -- List the age in years of the oldest employee at each cinema. Order the report by the --

 -- QUESTION 6 -- ========== -- -- List the age in

-- QUESTION 6

-- ==========

--

-- List the age in years of the oldest employee at each cinema. Order the report by the

-- cinema with the most employees first. Output should be formatted as below.

--

-- Hint: Use the examples in the SQL Sessions to determine the age in years of staff.

--

-- Solution Test:

--

-- Cinema Oldest Employee

-- -------------------------------------------------- ----------------

-- Masterton Multiplex 56

-- Grange Cinema 48

-- The Glory Showhouse 52

-- Marvale Rex 62

-- Odeon on the Hill 61

-- Flix 57

-- Treban Picturehouse 34

--

-- Type your query below:

Cinema Screen Contains PK Cinema_Name PKFK Cinema Location PK Screen Year_Opened Capacity FK Manager Presents Employs V Manages Staff Showing PK Employee_No PK Showing_No Name IO FK Cinema Address FK Screen Phone_No FK Film_No DOB Supervises v Date_Joined Salary A FK Supervisor shown at Part of FK Cinema Performance PKFK Showing No Film PK Performance_Date PK Film_No Performance_Time Film_Name IH Takings Classification Duration Attendees Description Year_Released

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!