0% found this document useful (0 votes)
14 views3 pages

Exp 2 - 55

The document details an experiment involving inserting 10 rows into an employee table, displaying all information from the employee table, displaying records of employees who work in department 202, updating the address of an employee, and selecting employees whose department is IT.

Uploaded by

KUNTALA MHATRE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Exp 2 - 55

The document details an experiment involving inserting 10 rows into an employee table, displaying all information from the employee table, displaying records of employees who work in department 202, updating the address of an employee, and selecting employees whose department is IT.

Uploaded by

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

EXPERIMENT NO.

- 02
1 ) INSERT AT LEAST 10 ROWS IN THE TABLE

insert into employee values (01, 'ramesh', 'panvel', 1231758346, 201,'IT', 'xyz',
5000, to_date('2012-12-12', 'yyyy-mm-dd'))

insert into employee values (02, 'raj', 'kharghar', 2231758346, 202,'IT', 'xyz',
10000, to_date('2012-12-15', 'yyyy-mm-dd'))

insert into employee values (03, 'rohan', 'kamothe', 4231758346, 203,'ECS', 'xyz',
12000, to_date('2012-12-17', 'yyyy-mm-dd'))

insert into employee values (04, 'AKASH', 'AIROLI', 6631758346, 204,'ECS', 'xyz',
20000, to_date('2012-12-19', 'yyyy-mm-dd'))

insert into employee values (05, 'avinash', 'sanpada', 2231758346, 205,'IT', 'xyz',
22000, to_date('2012-12-21', 'yyyy-mm-dd'))

insert into employee values (06, 'nikhil', 'vashi', 2231758346, 206,'IT', 'xyz',
25000, to_date('2012-12-23', 'yyyy-mm-dd'))

insert into employee values (07, 'ryan', 'pune', 7561758346, 207,'CoMP', 'xyz', 28000,
to_date('2012-12-25', 'yyyy-mm-dd'))

insert into employee values (08, 'GARGI', 'mumbai', 8831758346, 208,'IT', 'xyz',
30000, to_date('2012-12-26', 'yyyy-mm-dd'))

insert into employee values (09, 'ADITYA', 'kharghar', 2231758346, 209,'ECS', 'xyz',
10000, to_date('2012-12-28', 'yyyy-mm-dd'))

insert into employee values (10, 'MIDHUN', 'kharghar', 2231758346, 210,'ECS', 'xyz',
10000, to_date('2012-12-30', 'yyyy-mm-dd'))

2 ) DISPLAY ALL THE INFORMATION OF EMP TABLE

select * from employee


3)DISPLAY ALL THE RECORD OF EMPLOYEE WHO WORKS IN DEPT-202

select * from employee where dept_no=202

4)update employee set e_address='virar' where e_no=3

5)select * from employee where dept_name='IT'

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy