asked 210k views
5 votes
Assume the structure of a relation is Employee (EmpID, Name, Dept, Salary). The number of attributes for this relation would:

a. be three.
b. be five.
c. be six.
d. be four.
e. vary depending upon the number of employees.

asked
User Wnafee
by
7.8k points

1 Answer

0 votes

Answer:

D. Four

Explanation:

The number of attributes for the Employee relation is four namely: EmpID, Name, Dept, Salary.

We said four because it is only four attributes that are defined for the Employee relation, but an instance of the relation can have lesser than four attribute but not more than four attribute.

answered
User Briancaffey
by
8.2k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.