Q1. Give advantages of DBMS over File system?
Q2. What is a data abstraction? Explain levels of abstraction? What do u mean by physical data independence?
Q3. Draw ER diagram for railway reservation system. Convert ER-diagram into table?
Q.4 Define the following term with example
a. Single and composite Atribute
b. Single valued and multivalued attribute
c. Entity Set
d. Relationship set
e. Aggregation
Q.5 Draw and explain Database System architecture?
Q.6 Explain the following relational algebra operations?
a. All fundamental relational algebra operation.
b. Set Intersection
c. Natural join
d. Division
e. Generalize projection
f. Aggregate function
g. Outer Join
Q.7 What is a transaction? Draw State transition diagram and explain properties of transaction?
Q.8.Consider the employee database of Figure 4.13, where the primary keys are underlined.
employee (employee-name, street, city)
works (employee-name, company-name, salary)
company (company-name, city)
manages (employee-name, manager-name)
Figure 4.13 Employee database.
Give an expression in SQL for each of the following queries.
a. Find the names of all employees who work for First Bank Corporation
b. Find the names and cities of residence of all employees who work for First
Bank Corporation.
c. Find the names, street addresses, and cities of residence of all employees
who work for First Bank Corporation and earn more than $10,000.
d. Find all employees in the database who live in the same cities as the companies
for which they work.
e. Find all employees in the database who live in the same cities and on the
same streets as do their managers.
f. Find all employees in the database who do not work for First Bank Corporation.
g. Find all employees in the database who earn more than each employee of
Small Bank Corporation.
h. Assume that the companies may be located in several cities. Find all companies
located in every city in which Small Bank Corporation is located.
i. Find all employees who earn more than the average salary of all employees
of their company.
j. Find the company that has the most employees.
k. Find the company that has the smallest payroll.
l. Find those companies whose employees earn a higher salary, on average,
than the average salary at First Bank Corporation.
Q. 9 Write Short note on:
a. Group by and order by clause in SQL
b. Shadow Copy
Q. 10 Define the follwoing term with suitable example
a. Entity and Entity set
b. Primary key, candidate key, and super key
c. Aggregation
d. Weak entity set
e. Generalization and specialization
Q2. What is a data abstraction? Explain levels of abstraction? What do u mean by physical data independence?
Q3. Draw ER diagram for railway reservation system. Convert ER-diagram into table?
Q.4 Define the following term with example
a. Single and composite Atribute
b. Single valued and multivalued attribute
c. Entity Set
d. Relationship set
e. Aggregation
Q.5 Draw and explain Database System architecture?
Q.6 Explain the following relational algebra operations?
a. All fundamental relational algebra operation.
b. Set Intersection
c. Natural join
d. Division
e. Generalize projection
f. Aggregate function
g. Outer Join
Q.7 What is a transaction? Draw State transition diagram and explain properties of transaction?
Q.8.Consider the employee database of Figure 4.13, where the primary keys are underlined.
employee (employee-name, street, city)
works (employee-name, company-name, salary)
company (company-name, city)
manages (employee-name, manager-name)
Figure 4.13 Employee database.
Give an expression in SQL for each of the following queries.
a. Find the names of all employees who work for First Bank Corporation
b. Find the names and cities of residence of all employees who work for First
Bank Corporation.
c. Find the names, street addresses, and cities of residence of all employees
who work for First Bank Corporation and earn more than $10,000.
d. Find all employees in the database who live in the same cities as the companies
for which they work.
e. Find all employees in the database who live in the same cities and on the
same streets as do their managers.
f. Find all employees in the database who do not work for First Bank Corporation.
g. Find all employees in the database who earn more than each employee of
Small Bank Corporation.
h. Assume that the companies may be located in several cities. Find all companies
located in every city in which Small Bank Corporation is located.
i. Find all employees who earn more than the average salary of all employees
of their company.
j. Find the company that has the most employees.
k. Find the company that has the smallest payroll.
l. Find those companies whose employees earn a higher salary, on average,
than the average salary at First Bank Corporation.
Q. 9 Write Short note on:
a. Group by and order by clause in SQL
b. Shadow Copy
Q. 10 Define the follwoing term with suitable example
a. Entity and Entity set
b. Primary key, candidate key, and super key
c. Aggregation
d. Weak entity set
e. Generalization and specialization
No comments:
Post a Comment