logo

Crowdly

Browser

Add to Chrome

Relational Schema: Employee  (EmployeeID, FirstName, LastName, Email, Phone, Hi...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Relational Schema:

Employee (EmployeeID, FirstName, LastName, Email, Phone, HireDate, Salary, #DepartmentID)

Department (DepartmentID, DepartmentName, #ManagerID)

Project (ProjectID, ProjectName, StartDate, EndDate, Budget)

Employee_Project (#EmployeeID, #ProjectID, Role, AssignmentDate)

Explanation of Relationships:

  • Employee (EmployeeID) is the primary key.
  • Department (DepartmentID) is the primary key.
  • Project (ProjectID) is the primary key.
  • Employee_Project (#EmployeeID, #ProjectID) is a composite primary key (many-to-many relationship between Employee and Project).
  • Employee(#DepartmentID) REFERENCES Department(DepartmentID): An employee belongs to a department.
  • Department(#ManagerID) REFERENCES Employee(EmployeeID): A manager is an employee.
  • Employee_Project(#EmployeeID) REFERENCES Employee(EmployeeID)
  • Employee_Project(#ProjectID) REFERENCES Project(ProjectID)
QUESTION

Which query retrieves all employees with a salary greater than 50,000?

A) SELECT * FROM Employee WHERE Salary >= 50000;

B) SELECT Salary FROM Employee WHERE Salary >= 50000;

C) SELECT * FROM Employee HAVING Salary >= 50000;

D) SELECT * FROM Employee GROUP BY Salary >= 50000;

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.myefrei.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome