You are on page 1of 2

Group “A”

Brief Answer Questions: [10 × 1 = 10]


1. Define fragmentation?
2. Differentiate between delete and truncate command in SQL.
3. Define attributes. List different types of attributes.
4. Write the syntax to delete a tuple from a table.
5. Define transitive dependency with example?
6. Define trigger.
7. What is the use of CHECK clause in SQL?
8. List the properties of transaction management.
9. List four disadvantages of distributed database management system.
10. Define aggregation?

Group “B”
Short Answer questions: [5 × 3 = 15]
1. What is Database Management System (DBMS)? How DBMS can hide low level details from
the users? Explain
2. Explain different types of outer join?
3. Define authorization graph? Write the SQL query to grant update privilege on name and age
attribute of ‘student’ relation to user ‘Hari’.
4. Explain Horizontal and vertical fragmentation in brief with correctness rules.
5. Write the DDL query for the following :
Table Name Attributes Domain Constraints

Student Sid Int Primary key

Sname Varchar Not Null

Age Int Default 14

Gender Varchar Gender must be either ‘M’ or ‘F’

Course Cid Int Primary key

Cname Varchar Unique

Takes sid Int Foreign key referencing Student Table

Cid Int Foreign key referencing Course Table

Group “C”
Comprehensive Questions: [3 × 5 = 15]
1. Consider a database with following relations:
employee (eName, street, city)
worksin (eName, cName, salary)
company (cName, location)
Now, write SQL statement to perform the following:
a. Give all employees of ZAB Bank a 10 percent salary raise.
b. Delete all employees who works in company ABC Pvt. Ltd.
c. Find name of the employee who works for PQR Pvt. Ltd.
d. Find the number of employee who works for BABA Pvt. Ltd.
e. Find the name of all employee who earns less than every employee of PQR Pvt.Ltd

2. The department store database system contains information about customers, items they order,
departments in the store, employees and suppliers of merchandise. For customers we record their
name, address, salary and orders they have placed. The orders are for certain items and should
include a description of the item, item no and quantity. Items are usually being supplied by more
than one supplier at different prices. The store needs to keep contact information about the
suppliers.
Identify the entity sets, attributes and relationship sets and construct E-R diagram for the system

3. Describe anomalies and its type in short. Explain 1NF, 2NF, 3NF with suitable example

You might also like