Question: The underlined attribute(s) are the primary key Using the following tables create SQL queries: 1. Find the name of the managers and the average salary

The underlined attribute(s) are the primary key

Using the following tables create SQL queries:

1. Find the name of the managers and the average salary of the employees they manage.

2. Find all managers that manage employees with at least 3 letters 'a' or 'e' in their name (both uppercase and lowercase). For instance having 2 'a' and 1 'e' in the name, will satisfy the selection criteria.

The underlined attribute(s) are the primary key Using the following tables create

SQL queries: 1. Find the name of the managers and the average

salary of the employees they manage. 2. Find all managers that manage

employees with at least 3 letters 'a' or 'e' in their name

Table 1: Employee Employee name Street City Table 2: Works Employee name Company name Salary Table 3: Company Company name City Table 4: Manages Employee_name Manager_name

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!