Database Management System
105502Module 2: Relational Query Languages & Design
Q1b. Which SQL command is used to remove a table from a database? (i) REMOVE (ii) DELETE (iii) DROP (iv) CLEAR20242m
Module 2: Relational Query Languages & Design
View this question on its own page →Which SQL command is used to remove a table from a database?
(i) REMOVE
(ii) DELETE
(iii) DROP
(iv) CLEARQ1b. For relation: R(A,B,C); FDs={A \rightarrow B, B \rightarrow A}. Which statement is true? (i) A and B both are candidate keys (ii) Only A is key (iii) Only B is key (iv) Neither A nor B is key20252m
Module 2: Relational Query Languages & Design
View this question on its own page →For relation: R(A,B,C); FDs={A B, B A}. Which statement is true?
(i) A and B both are candidate keys
(ii) Only A is key
(iii) Only B is key
(iv) Neither A nor B is keyQ1b. A relational database developer refers to a record as (i) a criterion (ii) a relation (iii) a tuple (iv) an attribute20202m
Module 2: Relational Query Languages & Design
View this question on its own page →A relational database developer refers to a record as
(i) a criterion
(ii) a relation
(iii) a tuple
(iv) an attributeQ1c. The relational algebra expression \pi_A(R) - \pi_A((\pi_A(R) \times S) - R) is equivalent to: (i) Selection (ii) Join (iii) Division (iv) Projection20252m
Module 2: Relational Query Languages & Design
View this question on its own page →The relational algebra expression is equivalent to:
(i) Selection
(ii) Join
(iii) Division
(iv) ProjectionQ1d. Which query is best solved using division operation? (i) Find students enrolled in DBMS (ii) Find students enrolled in all courses (iii) Find students with marks >80 (iv) Find students from CSE20252m
Module 2: Relational Query Languages & Design
View this question on its own page →Which query is best solved using division operation?
(i) Find students enrolled in DBMS
(ii) Find students enrolled in all courses
(iii) Find students with marks >80
(iv) Find students from CSEQ1d. The term _____ is used to refer to a row. (i) attribute (ii) tuple (iii) field (iv) instance20182m
Module 2: Relational Query Languages & Design
View this question on its own page →The term _____ is used to refer to a row.
(i) attribute
(ii) tuple
(iii) field
(iv) instanceQ1d. Which of the following is true? (i) Every relation in 3NF is also in BCNF (ii) A relation R is in 3NF if very non-prime attribute of R is fully functionally dependent on every key of R (iii) Every relation in BCNF is also in 3NF (iv) No relation can be in both BCNF and 3NF20192m
Module 2: Relational Query Languages & Design
View this question on its own page →Which of the following is true?
(i) Every relation in 3NF is also in BCNF
(ii) A relationRis in 3NF if very non-prime attribute ofRis fully functionally dependent on every key ofR
(iii) Every relation in BCNF is also in 3NF
(iv) No relation can be in both BCNF and 3NFQ1d. Which of the following is true? (i) a super-key is always a candidate key. (ii) every 3NF schema is also a BCNF. (iii) generalization is bottom-up approach. (iv) none of these.20222m
Module 2: Relational Query Languages & Design
View this question on its own page →Which of the following is true?
(i) a super-key is always a candidate key.
(ii) every 3NF schema is also a BCNF.
(iii) generalization is bottom-up approach.
(iv) none of these.Q1e. Consider the relation scheme R = {E, F, G, H, I, J, K, L, M, N} and the set of functional dependencies {{E, F} → {G}, {F} → {I, J}, {E, H} → {K, L}, K → {M}, L → {N}} on R. What is the key for R? (i) {E, F} (ii) {E, F, H} (iii) {E, F, H, K, L} (iv) {E}20192m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider the relation scheme R = {E, F, G, H, I, J, K, L, M, N} and the set of functional dependencies {{E, F} → {G}, {F} → {I, J}, {E, H} → {K, L}, K → {M}, L → {N}} on
R. What is the key for R?
(i) {E, F}
(ii) {E, F, H}
(iii) {E, F, H, K, L}
(iv) {E}Q1e. Which of the following are the five built-in functions provided by SQL? (i) COUNT, SUM, AVG, MAX, MIN (ii) SUM, AVG, MIN, MAX, MULT (iii) SUM, AVG, MULT, DIV, MIN (iv) SUM, AVG, MIN, MAX, NAME20202m
Module 2: Relational Query Languages & Design
View this question on its own page →Which of the following are the five built-in functions provided by SQL?
(i) COUNT, SUM, AVG, MAX, MIN
(ii) SUM, AVG, MIN, MAX, MULT
(iii) SUM, AVG, MULT, DIV, MIN
(iv) SUM, AVG, MIN, MAX, NAMEQ1e. What is the purpose of project operation: (i) It selects certain columns. (ii) It selects certain rows. (iii) It selects certain strings. (iv) It selects certain integers.20222m
Module 2: Relational Query Languages & Design
View this question on its own page →What is the purpose of project operation:
(i) It selects certain columns.
(ii) It selects certain rows.
(iii) It selects certain strings.
(iv) It selects certain integers.Q1e. A relation is in BCNF if: (i) Every non-prime attribute depends on key (ii) Every FD is trivial (iii) Every determinant is a superkey (iv) Every attribute is atomic20252m
Module 2: Relational Query Languages & Design
View this question on its own page →A relation is in BCNF if:
(i) Every non-prime attribute depends on key
(ii) Every FD is trivial
(iii) Every determinant is a superkey
(iv) Every attribute is atomicQ1f. Given the Students' relation as shown below: | StudentID | StudentName | StudentE-mail | StudentAge | CPI | |---|---|---|---|---| | 2345 | Shankar | shankar@math | X | 9.4 | | 1287 | Swati | swati@ee | 19 | 9.5 | | 7853 | Shankar | shankar@cse | 19 | 9.4 | | 9876 | Swati | swati@mech | 18 | 9.3 | | 8765 | Ganesh | ganesh@civil | 19 | 8.7 | For (StudentName, StudentAge) to be the key for this instance, the value X should not be equal to: (i) 18 (ii) 19 (iii) 15 (iv) 2020192m
Module 2: Relational Query Languages & Design
View this question on its own page →Given the Students' relation as shown below:
StudentID StudentName StudentE-mail StudentAge CPI 2345 Shankar shankar@math X 9.4 1287 Swati swati@ee 19 9.5 7853 Shankar shankar@cse 19 9.4 9876 Swati swati@mech 18 9.3 8765 Ganesh ganesh@civil 19 8.7 For
(StudentName, StudentAge)to be the key for this instance, the valueXshould not be equal to:
(i) 18
(ii) 19
(iii) 15
(iv) 20Q1f. Suppose relation R(A,B,C) is decomposed into: R1(A,B) and R2(B,C). The decomposition is lossless if: (i) B \rightarrow A or B \rightarrow C (ii) A \rightarrow B (iii) A \rightarrow C (iv) C \rightarrow B20252m
Module 2: Relational Query Languages & Design
View this question on its own page →Suppose relation R(A,B,C) is decomposed into: R1(A,B) and R2(B,C). The decomposition is lossless if:
(i) B A or B C
(ii) A B
(iii) A C
(iv) C BQ1g. From the instance of a relation scheme R (A, B, C) | A | B | C | |---|---|---| | 1 | 1 | 1 | | 1 | 1 | 0 | | 2 | 3 | 2 | | 2 | 3 | 2 | we can conclude that: (i) A functionally determines B and B functionally determines C (ii) A functionally determines B and B does not functionally determine C (iii) B does not functionally determine C (iv) A does not functionally determine B and B does not functionally determine C20192m
Module 2: Relational Query Languages & Design
View this question on its own page →From the instance of a relation scheme
R (A, B, C)A B C 1 1 1 1 1 0 2 3 2 2 3 2 we can conclude that:
(i) A functionally determines B and B functionally determines C
(ii) A functionally determines B and B does not functionally determine C
(iii) B does not functionally determine C
(iv) A does not functionally determine B and B does not functionally determine CQ1g. Which normal form is considered adequate for normal relational database design? (i) 2 NF (ii) 5 NF (iii) 4 NF (iv) 3 NF20222m
Module 2: Relational Query Languages & Design
View this question on its own page →Which normal form is considered adequate for normal relational database design?
(i) 2 NF
(ii) 5 NF
(iii) 4 NF
(iv) 3 NFQ1g. Which of the following is an example of a DML command in SQL? (i) CREATE (ii) SELECT (iii) DROP (iv) ALTER20242m
Module 2: Relational Query Languages & Design
View this question on its own page →Which of the following is an example of a DML command in SQL?
(i) CREATE
(ii) SELECT
(iii) DROP
(iv) ALTERQ1g. To include integrity constraint in an existing relation use (i) create table (ii) modify table (iii) alter table (iv) drop table20182m
Module 2: Relational Query Languages & Design
View this question on its own page →To include integrity constraint in an existing relation use
(i) create table
(ii) modify table
(iii) alter table
(iv) drop tableQ1h. Which of the following is not a super key in R(V, W, X, Y, Z) with primary key VY? (i) VXYZ (ii) VWXZ (iii) VWXY (iv) VWXYZ20222m
Module 2: Relational Query Languages & Design
View this question on its own page →Which of the following is not a super key in R(V, W, X, Y, Z) with primary key VY?
(i) VXYZ
(ii) VWXZ
(iii) VWXY
(iv) VWXYZQ1i. Consider R (A, B, C, D, E) with following FDs:- A → B, A → C, CD → E, B → D, E → A which of the following FDs is not implied by above set? (i) CD → AC (ii) BD → CD (iii) BC → CD (iv) AC → BC20222m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider R (A, B, C, D, E) with following FDs:-
A → B, A → C, CD → E, B → D, E → A which of the following FDs is not implied by above set?
(i) CD → AC
(ii) BD → CD
(iii) BC → CD
(iv) AC → BCQ1i. 2NF removes which kind of dependency? (i) Transitive (ii) Partial (iii) Functional (iv) Multivalued20242m
Module 2: Relational Query Languages & Design
View this question on its own page →2NF removes which kind of dependency?
(i) Transitive
(ii) Partial
(iii) Functional
(iv) MultivaluedQ2a. What is attribute closure X⁺ of a set of attributes X with respect to a set of FDs F? Give the algorithm for commuting X⁺ for X.20227m
Module 2: Relational Query Languages & Design
View this question on its own page →What is attribute closure X⁺ of a set of attributes X with respect to a set of FDs F? Give the algorithm for commuting X⁺ for X.
Q2a. Consider the relation R (P, Q, S, T, X, Y, Z, W) with the following functional dependencies. PQ → X; P → YX; Q → Y; Y → ZW Consider the decomposition of the relation R into the constituent relations according to the following two decomposition schemes. D1 : R = [(P, Q, S, T); (P, T, X); (Q, Y); (Y, Z, W)] D2 : R = [(P, Q, S); (T, X); (Q, Y); (Y, Z, W)] Identify whether it is a lossless or lossy decomposition and justify your answer.20247m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider the relation R (P, Q, S, T, X, Y, Z, W) with the following functional dependencies.
PQ → X; P → YX; Q → Y; Y → ZW
Consider the decomposition of the relation R into the constituent relations according to the following two decomposition schemes.
D1 : R = [(P, Q, S, T); (P, T, X); (Q, Y); (Y, Z, W)]
D2 : R = [(P, Q, S); (T, X); (Q, Y); (Y, Z, W)]
Identify whether it is a lossless or lossy decomposition and justify your answer.Q2b. Relation R (ABCDEFGH) contains only atomic values for all of its attributes. F = {CH → G, A → BC, B → CFH, E → A, F → EG} is a set of functional dependencies (FDs) so that F is exactly the set of FDs that hold for R. (i) Find all the candidate keys the relation R have? (ii) Find the highest normal form with justification in which R exist?20227m
Module 2: Relational Query Languages & Design
View this question on its own page →Relation R (ABCDEFGH) contains only atomic values for all of its attributes. F = {CH → G, A → BC, B → CFH, E → A, F → EG} is a set of functional dependencies (FDs) so that F is exactly the set of FDs that hold for R.
(i) Find all the candidate keys the relation R have?
(ii) Find the highest normal form with justification in which R exist?Q2b. Employee (ename, street, city) Worksfor (ename, company_name, salary) Company (Company_name, city) Construct the SQL statements for the following (i) Create the above given tables with suitable data types and size. (ii) Find the name of employees who live in the same city where they work. (iii) Find the name of employees who have salary more than Rs. 50000. (iv) Find the name of employees who don't work in "tcs" company. (v) Find all employees whose name has second letter 'A'. (vi) Find the employee's name having second highest salary.20247m
Module 2: Relational Query Languages & Design
View this question on its own page →Employee (ename, street, city)
Worksfor (ename, company_name, salary)
Company (Company_name, city)Construct the SQL statements for the following
(i) Create the above given tables with suitable data types and size.
(ii) Find the name of employees who live in the same city where they work.
(iii) Find the name of employees who have salary more than Rs. 50000.
(iv) Find the name of employees who don't work in "tcs" company.
(v) Find all employees whose name has second letter 'A'.
(vi) Find the employee's name having second highest salary.Q3a. What is a view? Can we update a view? Justify your answer.20194m
Module 2: Relational Query Languages & Design
View this question on its own page →What is a view? Can we update a view? Justify your answer.
Q3a. Consider the following relational schemes for a library database: Book (Title, Author, Catalog_no, Publisher, Year, Price), Collection (Title, Author, Catalog_no) with in the following functional dependencies: I. Title Author → Catalog_no II. Catalog_no → Title, Author, Publisher, Year III. Publisher Title Year → Price Analyze and find the highest normal form of the relation Book and Collection.20247m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider the following relational schemes for a library database: Book (Title, Author, Catalog_no, Publisher, Year, Price), Collection (Title, Author, Catalog_no) with in the following functional dependencies:
I. Title Author → Catalog_no
II. Catalog_no → Title, Author, Publisher, Year
III. Publisher Title Year → PriceAnalyze and find the highest normal form of the relation Book and Collection.
Q3b. When we try to modify any table in a database system, we encounter some side-effects if the tables are insufficiently normalized. Can you explain those side-effects with the respective examples?20195m
Module 2: Relational Query Languages & Design
View this question on its own page →When we try to modify any table in a database system, we encounter some side-effects if the tables are insufficiently normalized. Can you explain those side-effects with the respective examples?
Q3b. Consider the following schema for institute library: Student (RollNo, Name, Father_Name, Branch) Book (ISBN, Title, Author, Publisher) Issue (RollNo, ISBN, Date-of-Issue) Write the following queries in SQL and relational algebra: (i) List roll number and name of all students of the branch 'CSE'. (ii) Find the name of student who has issued a book published by 'ABC' publisher. (iii) List title of all books and their authors issued to a student 'RAM'. (iv) List title of all books issued on or before December 1, 2020. (v) List all books published by publisher 'ABC'20247m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider the following schema for institute library:
Student (RollNo, Name, Father_Name, Branch)
Book (ISBN, Title, Author, Publisher)
Issue (RollNo, ISBN, Date-of-Issue)Write the following queries in SQL and relational algebra:
(i) List roll number and name of all students of the branch 'CSE'.
(ii) Find the name of student who has issued a book published by 'ABC' publisher.
(iii) List title of all books and their authors issued to a student 'RAM'.
(iv) List title of all books issued on or before December 1, 2020.
(v) List all books published by publisher 'ABC'Q3b. What is a JOIN in SQL? Explain various JOIN operations with a suitable example for each and discuss their applications in database systems.20257m
Module 2: Relational Query Languages & Design
View this question on its own page →What is a JOIN in SQL? Explain various JOIN operations with a suitable example for each and discuss their applications in database systems.
Q4a. Explain the reasons for the update, insertion and deletion anomalies.20227m
Module 2: Relational Query Languages & Design
View this question on its own page →Explain the reasons for the update, insertion and deletion anomalies.
Q4a. Consider: * Student(SID, Name, Dept, Age) * Course(CID, CName, Faculty) * Enroll(SID, CID, Marks) 1. Write relational algebra expressions to find: * a) Students enrolled in DBMS * b) Students scoring >80 marks * c) Students not enrolled in any course 2. Write SQL queries: * a) Find highest marks * b) Find average marks department-wise * c) Display students enrolled in more than two courses 3. Translate the following query into tuple relational calculus: * "Find names of students from CSE department." 4. Convert the following relational algebra into SQL: * \pi_{Name}(\sigma_{Marks > 85}(Student \bowtie Enroll))202510m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider:
- Student(SID, Name, Dept, Age)
- Course(CID, CName, Faculty)
- Enroll(SID, CID, Marks)
- Write relational algebra expressions to find:
- a) Students enrolled in DBMS
- b) Students scoring >80 marks
- c) Students not enrolled in any course
- Write SQL queries:
- a) Find highest marks
- b) Find average marks department-wise
- c) Display students enrolled in more than two courses
- Translate the following query into tuple relational calculus:
- "Find names of students from CSE department."
- Convert the following relational algebra into SQL:
Q4a. What is the use of relational query language in DBMS? Use the example to explain tuple and domain relational calculus.20207m
Module 2: Relational Query Languages & Design
View this question on its own page →What is the use of relational query language in DBMS? Use the example to explain tuple and domain relational calculus.
Q4b. Explain the following operations with the help of examples: (i) Generalized projection (ii) Outer join (iii) Aggregate function20207m
Module 2: Relational Query Languages & Design
View this question on its own page →Explain the following operations with the help of examples:
(i) Generalized projection
(ii) Outer join
(iii) Aggregate functionQ4b. For relation R(A,B,C,D,E) functional dependencies are given as follows: * A \rightarrow BC * CD \rightarrow E * B \rightarrow D Find candidate keys.20254m
Module 2: Relational Query Languages & Design
View this question on its own page →For relation R(A,B,C,D,E) functional dependencies are given as follows:
- A BC
- CD E
- B D
Find candidate keys.
Q5. Consider the universal relation R = \{A, B, C, D, E, F, G, H, I\} and the set of functional dependencies F = \{\{A, B\} \rightarrow \{C\}, \{A\} \rightarrow \{D, E\}, \{B\} \rightarrow \{F\}, \{F\} \rightarrow \{G, H\}, \{D\} \rightarrow \{I, J\}\} What is the key for R? Decompose R into 2NF, then 3NF relations.201814m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider the universal relation and the set of functional dependencies
What is the key for ? Decompose into 2NF, then 3NF relations.Q5. Considering the following schema, create the appropriate tables and insert at least 5 records: AUTHOR (author-id, name, city, country) PUBLISHER (publisher-id, name, city, country) CATALOG (book-id, title, author-id, publisher-id, category-id, year, price) CATEGORY (category-id, description) ORDER-DETAILS (order-no, book-id, quantity) Write each of the following queries in SQL and relational algebra: (a) Obtain the names of authors who have 2 or more books in the catalog. (b) Find the author of the book which has maximum sales. (c) Obtain the names of author who have maximum number of publisher. (d) Obtain the name of the city, author, publisher where publisher and author belong to same city. (e) Obtain the title of books which has maximum sales. (f) Obtain the book-id, description for the author who have exactly 3 books in the catalog. (g) Obtain the author and publisher who have published books in more than or equal to 2 categories.201914m
Module 2: Relational Query Languages & Design
View this question on its own page →Considering the following schema, create the appropriate tables and insert at least 5 records:
AUTHOR (author-id, name, city, country)
PUBLISHER (publisher-id, name, city, country)
CATALOG (book-id, title, author-id, publisher-id, category-id, year, price)
CATEGORY (category-id, description)
ORDER-DETAILS (order-no, book-id, quantity)Write each of the following queries in SQL and relational algebra:
(a) Obtain the names of authors who have 2 or more books in the catalog.
(b) Find the author of the book which has maximum sales.
(c) Obtain the names of author who have maximum number of publisher.
(d) Obtain the name of the city, author, publisher where publisher and author belong to same city.
(e) Obtain the title of books which has maximum sales.
(f) Obtain the book-id, description for the author who have exactly 3 books in the catalog.
(g) Obtain the author and publisher who have published books in more than or equal to 2 categories.Q5a. What are the typical phases of query processing? With a sketch, discuss these phases in high level query processing.20227m
Module 2: Relational Query Languages & Design
View this question on its own page →What are the typical phases of query processing? With a sketch, discuss these phases in high level query processing.
Q5a. Describe Armstrong's axioms in detail. What is the role of these rules in database development process?20247m
Module 2: Relational Query Languages & Design
View this question on its own page →Describe Armstrong's axioms in detail. What is the role of these rules in database development process?
Q5a. Explain different normal forms up to BCNF with examples.20257m
Module 2: Relational Query Languages & Design
View this question on its own page →Explain different normal forms up to BCNF with examples.
Q5b. When is the decomposition of relation schema R into two relation schemes X and Y, said to be a loss-less-join decomposition? Why is this property so important? Explain with example.20227m
Module 2: Relational Query Languages & Design
View this question on its own page →When is the decomposition of relation schema R into two relation schemes X and Y, said to be a loss-less-join decomposition? Why is this property so important? Explain with example.
Q5b. Describe the term MVD in the context of DBMS by giving an example. Discuss 4NF and 5NF also.20247m
Module 2: Relational Query Languages & Design
View this question on its own page →Describe the term MVD in the context of DBMS by giving an example. Discuss 4NF and 5NF also.
Q6a. You are given the following set F of functional dependencies for a relation: R(A, B, C, D, E, F): F = {ABC → D, ABD → E, CD → F, CDF → B, BF → D} (i) Find all keys of R based on these functional dependencies. (ii) Is this relation in Boyce-Codd normal form? Is it 3NF? Explain your answer. (iii) Can the set F be simplified (by removing functional dependencies or by removing attributes from the left-hand side of functional dependencies) without changing the closure of F (i.e. F+)?20199m
Module 2: Relational Query Languages & Design
View this question on its own page →You are given the following set F of functional dependencies for a relation:
R(A, B, C, D, E, F): F = {ABC → D, ABD → E, CD → F, CDF → B, BF → D}(i) Find all keys of R based on these functional dependencies.
(ii) Is this relation in Boyce-Codd normal form? Is it 3NF? Explain your answer.
(iii) Can the set F be simplified (by removing functional dependencies or by removing attributes from the left-hand side of functional dependencies) without changing the closure of F (i.e. F+)?Q6a. Explain the terms ‘partial functional dependency’ and ‘transitive dependency’. Define 2NF and 3 NF in relation with these terms.20227m
Module 2: Relational Query Languages & Design
View this question on its own page →Explain the terms ‘partial functional dependency’ and ‘transitive dependency’. Define 2NF and 3 NF in relation with these terms.
Q6b. Compute the closure of the following set F of functional dependencies for relation schema: R = (A, B, C, D, E). A → BC, CD → E, B → D, E → A List the candidate keys for R.20195m
Module 2: Relational Query Languages & Design
View this question on its own page →Compute the closure of the following set F of functional dependencies for relation schema:
R = (A, B, C, D, E). A → BC, CD → E, B → D, E → AList the candidate keys for R.
Q7a. Explain the select, project, join and division with the help of example.20187m
Module 2: Relational Query Languages & Design
View this question on its own page →Explain the select, project, join and division with the help of example.
Q7a. What is the need of normalization? How many types of normalization exist? Explain in detail with suitable examples.20198m
Module 2: Relational Query Languages & Design
View this question on its own page →What is the need of normalization? How many types of normalization exist? Explain in detail with suitable examples.
Q7a. Consider the following employee database, primary keys are underlined. Employee (ename, street, city) Works (ename, cname, salary) Company (cname, city) Manages (ename, manager-name) Write SQL queries to (i) Find the names of all the employees who work for XYZ. (ii) Find all employees who live in the same city as the company for which they work. (iii) Find all employees who live in the same cities and on the same streets as do their managers. (iv) Find all employees who earn more than the average salary of all employees of their company.202214m
Module 2: Relational Query Languages & Design
View this question on its own page →Consider the following employee database, primary keys are underlined.
Employee (ename, street, city)
Works (ename, cname, salary)
Company (cname, city)
Manages (ename, manager-name)Write SQL queries to
(i) Find the names of all the employees who work for XYZ.
(ii) Find all employees who live in the same city as the company for which they work.
(iii) Find all employees who live in the same cities and on the same streets as do their managers.
(iv) Find all employees who earn more than the average salary of all employees of their company.Q7b. What is trigger? When are they used and why? Explain.20196m
Module 2: Relational Query Languages & Design
View this question on its own page →What is trigger? When are they used and why? Explain.
Q8. Compute the closure (F+) of the following set of functional dependencies for the relational schema (A, B, C, D, E) = R. List the candidate keys for R: A → BC CD → E B → D E → A202014m
Module 2: Relational Query Languages & Design
View this question on its own page →Compute the closure (F+) of the following set of functional dependencies for the relational schema
(A, B, C, D, E) = R. List the candidate keys forR:A → BCCD → EB → DE → A