Garden Glory is a partnership that provides gardening and yard maintenance services to individuals and organizations. Garden Glory is owned by two partners, who employ two office administrators and a number of full- and part-time gardeners. Garden Glory will provide one-time garden services, but it specializes in ongoing service and maintenance. Many of its customers have multiple buildings, apartments, and rental houses that require gardening and lawn maintenance services.
Below is a sample list of owners, properties, and services that Garden Glory collects about for its business operation (you can refer to textbook Figure 2-34, pp. 115 to find the sample list as well).
5.5) Write an SQL statement to list the names of employees who have worked on a property owned by a Corporation.
5.6) Write an SQL statement to show the name and sum of HoursWorked for each employee.
5.7) Write an SQL statement to show the sum of HoursWorked for each ExperienceLevel of EMPLOYEE. Sort the results by ExperienceLevel in descending order.
5.8) Write an SQL statement to show the sum of HoursWorked for each Type of OWNER but exclude services of employees who have an ExperienceLevel of Junior and exclude any Type with less than three members.