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')}
I need to Map an E-R diagram to a relational schema
Explain the two types of participation constraint. Total: The participation of an entity set E in a relationship set R is said to be total if each entity in E participates i
Benefits and limitations
What is document scanning and imaging? Document scanning and imaging, or digital archiving, is the method of scanning a document into a digital image to archive and retrieve a
Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4
Q. Define a weak entity set and its identifying relationship. List the necessary conditions for a meaningful identifying relationship set of a weak entity set. Entity is a t
Object-based Models: Use objects as key data representation components . Examples:- Entity-Relationship Model: It is a collection of real world objects known as entitie
What are the two approaches to store relations in distributed database? a) Replication b) Fragmentation
What does data dictionary is a special file contains ? The data dictionary is a special file contain The name of all fields in all files.The width of all fields in all files an
Write a short note on oracle Instance? Oracle Instances: An instance is the (executed) Oracle software and the memory they use. It is the instance which manipulates the data s
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