Question: MYSQL query for below using TWO SUBQUERIES: TABLE 1: FacultySubjects (Columns: StaffID, SubjectID, ProficiencyRating) TABLE 2: Staff (Columns; StaffID, StaffName, StaffAddress, PhoneNumber, Salary, DateHired, Position)

MYSQL query for below using TWO SUBQUERIES:

TABLE 1: FacultySubjects (Columns: StaffID, SubjectID, ProficiencyRating)

TABLE 2: Staff (Columns; StaffID, StaffName, StaffAddress, PhoneNumber, Salary, DateHired, Position)

Show the name, salary, and proficiency rating of the staff getting a salary of 5000 OR more than the average staff salary AND also have a proficiency rating more than or equal to the average proficiency rating.

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!