Professional Documents
Culture Documents
no TOPIC SIGNATURE
1 WAP to create student table with different parameters.
(name,enrollment no.,class,address,phone no.,father name)
That record 10 students databases.
2 WAP to create table employee table using constraints.
3 WAP to create table department by using constraints-
Primary key,unique key,not null key,check constraint.
4 WAP to create table which include different attributes-
Id, name, salary, address, date of joining, city, contact,
department.
5 Display the table/relation.
6 WAP to display structure of relation.
7 WAP to display salary from relation
8 Display diff. department from relation.
9 Display the name of those employees whose name start with
‘p’.
10 Display the name of those employees whose name start with
‘a’ and end with ‘a’.
11 find the total sum of salary of the employee from the table.
12 Display the average salary.
13 Display maximum salary of the employee from relation.
14 Display manimum salary of the employee from relation.
15 Display total number of salary from relation.
16 Increase salary of those employees where employee id=3
17 Create a table sales order details for sales information
18 W.A.P to retrieve product member & total quality order for
Product ‘p001’,’p004’ from the sales order details table
(with the help or group by and having command).
19 W.A.P in Oracle for join.
20 W.A.P to perform the equijoins on client master and sales
order.
21 W.A.P to modify th structure of the table.
22 W.A.P to drop a column form the table.
23 Modify the existing column of employee table relation
24 How to rename the relation
25 W.A.P to remove a specified row from table.
PRACTICAL – 1
Question:- WAP to create student table with different parameters.
(name,enrollment no.,class,address,phone no.,father name)
That record 10 students databases.
Question:- Display the name of those employees whose name start with ‘a’ and end
with ‘a’.
Query:- select name from comp where name like'a%' and name like'%a';
PRACTICAL – 11
Question:- find the total sum of salary of the employee from the table.
Answer:-
A) Create table sales_order(order_no number(6),client_no varchar(4),order_date
date);
B) Create table client_master(client_id varchar(10), name varchar(10), balance_due
number(4));
PRACTICAL – 20
Question:- W.A.P to perform the equijoins on client master and sales order.