We read your photo as:

What are the primary, foreign, and composite keys for the normalized Employee, Emp_Salary, and Department tables?

Computer Science

ScanSolve AI Answer

Here are the table elements after normalization:

  • Primary keys:

    • Employee table: StaffNo
    • Emp_Salary table: (Staff_No, Dept_ID) (This is a composite key, as it uniquely identifies a salary record for a specific employee within a specific department.)
    • Department table: Dept_ID
  • Foreign keys:

    • Emp_Salary table: Staff_No (references StaffNo in the Employee table)
    • Emp_Salary table: Dept_ID (references Dept_ID in the Department table)
  • Composite keys:

    • Emp_Salary
Was this helpful?

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp