--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART – B (48 Marks)
-
Explain E-R diagram components and give the E-R diagram for university database system.
-
Consider the following database:
employee(employee-name, street, city)
company(company-name, city)
works(employee-name, company-name, salary)
manages(employee-name, manager-name)
--- Content provided by FirstRanker.com ---
- Give an expression in SQL for each of the following queries:
- Find the names of all employees who work for SP FirstRanker.com National FirstRanker.com Insurance FirstRanker.com Company.
- Find the names of all employees who live in the same city and on the same street as do their managers.
- Find the names of all employees who earn more than every employee of Small Bank Corporation.
- Assume that the companies may be located in several cities. Find all companies located in every city in which Small Bank Corporation is located.
--- Content provided by FirstRanker.com ---
-
Consider relation R = {A, B, C, D, E, H} and the set of functional dependencies {A → B, BC → E, ED → H, A → C, C → D}
- Compute the closure of A+.
- Is {A} a candidate key for R?
- Is {BC} a candidate key for R?
--- Content provided by FirstRanker.com ---
-
Explain in detail about different normal forms with examples.
-
Explain the following:
- Transaction state diagram.
- ACID properties.
--- Content provided by FirstRanker.com ---
-
Explain the following:
- Static Hashing.
- Dynamic Hashing.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
WWW.FirstRanker.com