Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create SQL queries (postgreSQL), the entities could be change if necessary or it makes the queries easier to be implemented: List all instructors who has
Create SQL queries (postgreSQL), the entities could be change if necessary or it makes the queries easier to be implemented:
- List all instructors who has given more than a specific number of lessons during the current month.
- Sum all lessons, independent of type.
- Also list the three instructors having given most lessons (independent of lesson type) during the last month, sorted by number of given lessons.
- The queries will be used to find instructors risking to work too much, and will be executed daily.
The following query should be performed programmatically:
- List all ensembles held during the next week, sorted by music genre and weekday. For each ensemble tell whether it's full booked, has 1-2 seats left or has more seats left.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started