Let \(E_{1}\) and \(E_{2}\) be two entities in E-R diagram with simple single valued attributes. \(R_{1}\) and \(R_{2}\) are two relationships between \(E_{1}\) and \(E_{2}\) where \(R_{1}\) is one - many and \(R_{2}\) is many - many. \(R_{1}\) and \(R_{2}\) do not have any attribute of their own. How many minimum number of tables are required to represent this situation in the Relational Model ?
3
When mapping an E-R model, each strong entity becomes a table, a one-to-many relationship is absorbed as a foreign key on the many side, and a many-to-many relationship always needs its own table.
Entities: \(E_{1}\) and \(E_{2}\) give 2 tables.
\(R_{1}\) (one-many): stored as a foreign key in the table of the many side, so 0 extra tables.
\(R_{2}\) (many-many): needs a separate table holding both keys, so 1 extra table.
Total \(= 2 + 0 + 1 = 3\)
Check: 4 would wrongly give the one-many relationship its own table, and 2 or 1 cannot hold the many-many pairs.
Hence, 3.
What kind of mechanism is to be taken into account for converting a weak entity set into strong entity set in entity-relationship diagram ?
Which of the following provides the best description of an entity type ?
Which of the following statements is FALSE about weak entity set ?
For a weak entity set to be meaningful, it must be associated with another entity set in combination with some of their attribute values, is called as :
Specialization Lattice stands for
Let pk(R) denotes primary key of relation R. A many-to-one relationship that exists between two relations R1 and R2 can be expressed as follows :
The values of the attributes in a database describe a particular _______.
Which of the following data item is not broken down into smaller units is?
Which of the following statements is/are TRUE?
(i) A weak entity set is identified solely by its partial key (discriminator).
(ii) The identifying relationship type between a weak entity type and its owner entity type must have total participation from the weak entity type.