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')}
Distributed Database Management System
What Count function return in SQL? Count function within SQL returns the number of values. (Count function counts all the not null values in the exact column. If we need to cou
Define Assertions in SQL a. An assertion is a predicate that is expressing a condition we wish the database to always satisfy. b. Domain constraints, functional dependency
Explain how the associations are implemented as classes. A general approach in this case is to transform an association class into a simple class linked to two original classes
List any two disadvantages of a database system ? The disadvantages of database system are: • Database systems are difficult, complex, and time-consuming to design. • Substanti
Explain data dictonary on oracle ? Data Dictionary - Data dictionaries are the system tables in which contain descriptions of the database objects and how they are structured.
Objectives After Reading this part, you should be able to: Explain the term CONCURRENCY; Describe the term transaction and concurrent transactions; Talk about co
lock and types of lock
Determine object representation As a designer, we must choose properly that when to use primitive types in representing objects and when to combine groups of related objects,
What is assertion? Mention the forms available. An assertion is a predicate expressing a condition that we wish the database always to satisfy. Domain integrity constraints.
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: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd