Question 3. Display the details of theatres and number of lease-bookings that have the lowest number of lease-bookings.

Question 3                                                                                                                   2 Marks

Display the details of theatres and number of lease-bookings that have the lowest number of lease-bookings.

TheatreId TheatreName NumBookings
2 West 1

select l.TheatreId, t.TheatreName, count(l.TheatreId) as NumBookings from Theatre t join LeaseBooking l on t.id = l.TheatreId Group by l.TheatreId Having Count(l.TheatreId) <=1

Expert's Answer

Hire Expert Tutors

Get Professional Tutoring at Low Price in Australia


Academic Excellence
Professional
Tutoring Services
👥

25k+

Sessions Done

4.9/5

Student Rating

👨‍🏫

600+

Expert Tutors

Why Learn With Us?

🧠

Concept Clarity

🎯

Personalized Plan

💸

Affordable Rates

📅

Flexible Schedule

📈

Results Driven

💬

24/7 Support

TOP