Recent questions tagged database-design

97
views
0 answers
0 votes
Let's take an example of student entity typeNameClassSectionAddress (Line1, Line2, City, State, Country, PinCode)Since composite attribute holds multiple atomic attribute...
611
views
0 answers
0 votes
which is best book for DBMS korth or navathe ?since i know that both book is great but i wanted to follow 1 particular book that is easy to understand and simple language...
351
views
1 answers
2 votes
Under a relational database if table A has a foreign key constraint referencing to another table B, then Each tuple in A is related to zero or one tuple of B.Each tuple i...
259
views
0 answers
0 votes
In a relational schema, each tuple is divided in fields called :RelationsDomainsQueriesAll the above
1.3k
views
2 answers
1 votes
An attribute $A$ of datatype varchar $(20)$ has value 'Ram' and the attribute $B$ of datatype char $(20)$ has value 'Sita' in oracle. The attribute $A$ has ________ memor...
858
views
1 answers
0 votes
Explain the distinction between total and partial constraints.
889
views
1 answers
0 votes
Explain the distinction between disjoint and overlapping constraints.
569
views
0 answers
2 votes
Explain the distinction between condition-defined and user-defined constraints.Which of these constraints can the system check automatically?Explain your answer.
2.0k
views
0 answers
5 votes
Design a generalization-specialization hierarchy for a motor vehicle salescompany. The company sells motorcycles, passenger cars, vans, and buses.Justify your placement o...
867
views
0 answers
2 votes
Design a database for an airline. The database must keep track of customersand their reservations, flights and their status, seat assignments onindividual flights, and th...
1.6k
views
0 answers
0 votes
Design a database for a worldwide package delivery company (e.g., DHLor FedEx). The database must be able to keep track of customers (who shipitems) and customers (who re...
1.6k
views
0 answers
4 votes
Design a database for an automobile company to provide to its dealers toassist them in maintaining customer records and dealer inventory and toassist sales staff in order...
3.1k
views
0 answers
4 votes
Consider the E-R diagram in Figure given below, which models an online bookstore.a. List the entity sets and their primary keys. b. Suppose the bookstore adds Blu-ray dis...
466
views
0 answers
1 votes
We can convert any weak entity set to a strong entity set by simply addingappropriate attributes. Why, then, do we have weak entity sets?
460
views
1 answers
0 votes
Explain the difference between a weak and a strong entity set.
772
views
1 answers
–1 votes
Construct an E-R diagram for a hospital with a set of patients and a set ofmedical doctors. Associate with each patient a log of the various tests andexaminations conduct...
1.6k
views
2 answers
2 votes
Explain the distinctions among the terms primary key, candidate key, andsuperkey.
648
views
1 answers
2 votes
Temporal changes: An E-R diagram usually models the state of an enterpriseat a point in time. Suppose we wish to track temporal changes, that is,changes to data over time...
573
views
0 answers
1 votes
Figure shows a lattice structure of generalization and specialization(attributes not shown). For entity sets A, B, and C, explain how attributes are inherited from the hi...
783
views
0 answers
0 votes
In SQL, foreign key constraints can only reference the primary key attributesof the referenced relation, or other attributes declared to be a super key usingthe unique co...
708
views
0 answers
4 votes
Consider a many-to-one relationship R between entity sets A and B. Supposethe relation created from R is combined with the relation created fromA. In SQL, attributes part...
341
views
0 answers
0 votes
Suppose the advisor relationship was one-to-one. What extra constraintsare required on the relation advisor to ensure that the one-to-one cardinalityconstraint is enforce...
295
views
0 answers
0 votes
Consider a relation such as sec_course, generated from a many-to-one relationshipsec_course. Do the primary and foreign key constraints created onthe relation enforce the...
1.1k
views
0 answers
2 votes
A weak entity set can always be made into a strong entity set by adding toits attributes the primary-key attributes of its identifying entity set. Outlinewhat sort of red...
599
views
0 answers
0 votes
Consider the representation of a ternary relationship using binary relationshipsas described in this book and illustrated in Figure (b) (attributesnot shown)a. Show a sim...
592
views
0 answers
1 votes
An E-R diagram can be viewed as a graph. What do the following mean interms of the structure of an enterprise schema?a. The graph is disconnected.b. The graph has a cycle...
404
views
0 answers
1 votes
Consider an E-R diagram in which the same entity set appears several times,with its attributes repeated in more than one occurrence. Why is allowingthis redundancy a bad...
968
views
0 answers
0 votes
Design an E-R diagram for keeping track of the exploits of your favoritesports team. You should store the matches played, the scores in each match,the players in each mat...
387
views
0 answers
0 votes
Consider a database used to record the marks that students get in differentexams of different course offerings (sections).a. Construct an E-R diagram that models exams as...