Question DB-REL-0023
EasyWhat is the domain of an attribute?
- A.
The set of values the attribute is allowed to take
- B.
The number of rows
- C.
Show answer and explanation
Answer: A
For example, the domain of 'age' might be whole numbers from 0 to 150.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Relational Model and Keys question
What is the domain of an attribute?
The set of values the attribute is allowed to take
The number of rows
Answer: A
For example, the domain of 'age' might be whole numbers from 0 to 150.
The website of the database
The table the attribute belongs to