The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+16 votes
1.2k views

Given the basic ER and relational models, which of the following is INCORRECT?

  1. An attribute of an entity can have more than one value
  2. An attribute of an entity can be composite
  3. In a row of a relational table, an attribute can have more than one value
  4. In a row of a relational table, an attribute can have exactly one value or a NULL value
asked in Databases by Veteran (14.6k points)
retagged by | 1.2k views

This might help ....

2 Answers

+22 votes
Best answer
(C) is incorrect as a relational table requires that, in a row, an attribute can have exactly one value or NULL value.
answered by Veteran (332k points)
selected by

 y it is incorrect "In a row of a relational table, an attribute can have more than one value" then wts mean of multivalued attribute y it cnt state multivalued atribute?????????

Multi-valued attribute is not possible in a relational table which means any relation in relational model is by default in 1NF.
then when multivalued attribute or wts use y we use such term please say bcz i search but didnt get satisfactory answer
Say you have two phone numbers {981456234 and 345234981}. So, now phone number filed becomes multi-attribute. But in a relational model, this can't be stored in a single row. It will be stored as

Shimpy 981456234
Shimpy 345234981

But there can be other models like ER model where data can be represented as

Shimpy -  {981456234 and 345234981} which is not in 1NF.
so it imeans it is necessary tht ER model must be in 1 NF always??????????????????? & to make this condition we are making c incorrect???
No, a relation in ER model needn't always be in 1NF, but a relation in relational model always will be. And this makes C INCORRECT.
thank you :)
0 votes
The term ‘entity’ belongs to ER model and the term ‘relational table’ belongs to relational model.

A and B both are true. ER model supports both multivalued and composite attributes See this for more details.

(C) is false and (D) is true. In Relation model, an entry in relational table can can have exactly one value or a NULL.
answered ago by Junior (693 points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

32,443 questions
39,189 answers
108,813 comments
36,563 users