Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
An orchestra database consists of the following relations: CONDUCTS (conductor, composition) REQUIRES (composition, Instrument) PLAYS (Player, Instrument) Give the relational calculus queries for the following:(i) List the compositions and the players. (ii) List the compositions which require the ‘violin' and the ‘congo'
Ans: (i) Tuple Calculus: {r[Composition] || p[Player] | r ∈ REQUIRES ∧ p ∈ PLAYS ∧ r[Instrument] = p[Instrument]} Domain Calculus: {c || p | ∃i1, i2 ( ∈ REQUIRES ∧ ∈ PLAYS ∧ i1 = i2)} (ii) Tuple Calculus: {r[Composition] | r ∈ REQUIRES ∧ ∃u (u ∈ REQUIRES ∧ r[Composition] = u[Composition] ∧ r[Instrument] = ‘violin' ∧ u[Instrument] = ‘congo')} Domain Calculus: {c | ∃i1, c2, i2 ( ∈ REQUIRES ∧ ∈ REQUIRES ∧ c1 = c ∧ i1 = ‘violin' ∧ i2 = ‘congo')}
∈ PLAYS ∧ i1 = i2)} (ii) Tuple Calculus: {r[Composition] | r ∈ REQUIRES ∧ ∃u (u ∈ REQUIRES ∧ r[Composition] = u[Composition] ∧ r[Instrument] = ‘violin' ∧ u[Instrument] = ‘congo')} Domain Calculus: {c | ∃i1, c2, i2 ( ∈ REQUIRES ∧ ∈ REQUIRES ∧ c1 = c ∧ i1 = ‘violin' ∧ i2 = ‘congo')}
Write short notes on extension and intension? In any data model, it is significant to distinguish among the description of the database and the database itself the description
How does a query tree represent a relational algebra expression? Ans: This includes transforming an initial expression (tree) into an equivalent expression (tree) that is
What are the advantages of object oriented databases in comparison with others? Why it is still not widely used? Object oriented designs are coherent, efficient and less prone
Explain the concept of deadlock Yes. It can direct to deadlock. Suppose that a batch of frames arrived correctly and were accepted. Then receiver will advance its window. Now s
Assigning Responsibility for Operation Many operations might have obvious target objects, but some of these operations could be used at numerous places in an algorithm, by one
What is storage manager? A storage manager is a program module that gives the interface between the Low level data kept in a database and the application programs
The Second Normal Form (2NF) Definition: A relation is in 2NF if it is in 1NF and each non-key attribute is fully dependent on each candidate key of the relation. Some of th
What is an ERD?
What exactly is the concept of Functional Dependencies? And how do we associate this concept with the logic of Super-keys, Candidate Keys, etc? Given Relation R(A,B,C,D,E) with de
Determine the Strong and Weak Entity Based on the method of foreign key, there might be arise a situation when we have to relate an entity having a primary key of its own and a
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd