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')}
Explain three main attributes of data.
What is the difference between WHERE and HAVING clauses?. Predicates in the WHERE clause applies to every tuple while the predicate in the HAVING clause applies to groups.
Illustrate the class diagram for class room scheduling system If in any college, the number of classrooms are limited which have to be allocated to various classes and instruct
1. Staff (staffID --> availabilityID) 2. Services (servicesID --> itemBasedID --> timedBasedID) 3. TimedBased (timedbasedID--> priceid) 4. Clients (clientId, serviceId-->
Using the concepts defined previous, we have identified that strong entities in COLLEGE database are FACULTY, STUDENT, COURSE and DEPARTMENT. This database also has one weak entity
Many-to-many : Entities in A and B are related with any number of entities from each other. Example: Taught_by Relationship among course and faculty. One faculty member ca
File Manager File manager handles the allocation of space on disk storage. It starts and maintains the list of structures and indices described in the internal schema that is
Define Serializable schedule Serializable schedule: An interleaved schedule of much more than one transaction is known as a serializable schedule, if it is equal to some serial
Give the limitations of SQL authorization. The code for checking authorization becomes intermixed with the rest of the application code. Implementing authorization by applic
When are they useful? Justify with an example. The temporary tables are commonly used to support specialized rollups or exact application processing needs. Unlike a permanent t
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