0% found this document useful (0 votes)
10 views1 page

Universal College of Engineering IAT-II QB DBMS

The document contains a series of SQL queries related to an Employee relation, including operations such as deletion, salary filtering, name searching, and salary adjustments. It also discusses database concepts like triggers, normalization, functional dependency, transaction control commands, ACID properties, and aggregate functions. Additionally, it includes examples of normalization forms (1NF and 2NF) and a transition diagram of transactions.

Uploaded by

Prince Kaswala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Universal College of Engineering IAT-II QB DBMS

The document contains a series of SQL queries related to an Employee relation, including operations such as deletion, salary filtering, name searching, and salary adjustments. It also discusses database concepts like triggers, normalization, functional dependency, transaction control commands, ACID properties, and aggregate functions. Additionally, it includes examples of normalization forms (1NF and 2NF) and a transition diagram of transactions.

Uploaded by

Prince Kaswala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DBMS IAT -II QB

Consider a relation Employee (Emp_no, Emp_name, Emp_add, ph_no,


email_id, salary). Write
SQL expression for the following queries:
a) Delete all tuples in employee whose employee number is less than 100
b) List the employees whose salary is between 50 K to 1 LAC
c) List the employees whose name starts with ‘Ami’.
d) Find the second highest salary of an employee.
e) Give all employees a 25% rise.
Describe Triggers along with syntax and example
Define Normalization. What is the need of normalization? State its types.
What is Functional Dependency? Explain the types of Functional
Dependency.
Explain Transaction Control Commands with examples.
Describe ACID properties with examples.
Consider a relation Employee (Emp_no, Emp_name, Emp_add, ph_no,
email_id, salary). Write
SQL expression for the following queries:
a) List the employee whose employee number is 100
b) List the employees whose salary is between 50 K to 1 LAC
c) List the employees whose name starts with ‘Ami’.
d) Find the second highest salary of an employee.
e) Create two views on the employee table.
Explain Aggregate functions with example
Describe with example: 1NF and 2NF
State Transition Diagram of Transaction

You might also like