Lab Quess
Lab Quess
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
4. Consider the following tables namely “DEPARTMENTS” and “EMPLOYEES”
Departments (dept_no , dept_ name , dept_location ),
Employees ( emp_id , emp_name , emp_salary,dept_no).
a) Develop a query to grant some privileges of employees table into departments table
b) Develop a query to revoke all privileges of employees table from departments table
c) Develop a query to revoke some privileges of employees table from departments table
d) Write a query to implement the save point.
e) Demonstrate the user defined procedure for the above employee database
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
10. Create the tables CUSTOMER (C_ID, Name, Address, City, Mobile_No) and
ORDER (C_ID, P_ID, P_Name, P_COST),
a) List the names and addresses of all the customers who have ordered products of cost more than 500.
b) List the names of all the products ordered whose cost is 1,000 or more.
c) List the product names which are ordered by customers of "City = Delhi".
d) Add column "Email_id" in the CUSTOMER table.
e) Demonstrate the user defined function for the above tables.
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
12. Develop a simple GUI based Inventory Management for a EMart Grocery Shop database application and
incorporate all the Database features.
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
13. Create an XML database for the student profile and validate it using XML schema.
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
15. Create a Employee database and write SQL Triggers for insert, delete, and update operations in a
database table.
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100
18. Develop a simple GUI based Employee Pay Roll System and incorporate all the Database features.
Aim and
SQL Query Execution and
Procedure / Viva-voce Record Total
and Program Results
E-R Diagram
20 30 30 10 10 100