CS FundamentalsEasyAccenture · Capgemini pattern
In an ER model, a weak entity set is identified by:
- A. A composite of all its attributes
- B. A foreign key to any entity set
- C. Its own primary key alone
- D. Its partial key (discriminator) together with the primary key of its owner (identifying) entity set
Correct answer: D. Its partial key (discriminator) together with the primary key of its owner (identifying) entity set
A weak entity has no key of its own; its discriminator becomes unique only when combined with the owner's primary key through the identifying relationship.
More DBMS and SQL questions
- Which SQL clause filters groups AFTER aggregation?
- Which statement about the SQL command TRUNCATE TABLE is correct?
- Table Emp(id, name, dept, salary, mgr) rows: (1, 'Asha', 'HR', 50000, NULL), (2, 'Ravi', 'IT', 70000, 1), (3, 'Meena', 'IT', 70000, 2)…
- Table Emp(id, name, dept, salary, mgr) rows: (1, 'Asha', 'HR', 50000, NULL), (2, 'Ravi', 'IT', 70000, 1), (3, 'Meena', 'IT', 70000, 2)…
- Two tables have 6 rows and 4 rows. How many rows does SELECT FROM A, B; (no WHERE clause) return?
- A relation is in 2NF if it is in 1NF and: