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

Insert Emp

Uploaded by

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

Insert Emp

Uploaded by

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

select * from Employee;

insert into
Employee(employee_id,first_name,last_name,salary,joining_date,department_id,manager
_id)values(1,'John','Abraham',1000000,'01-JAN-13',1,3),
(2,'Michael','Clarke',800000,'02-JAN-13',2,2),(3,'Harish','Konda',700000,'01-FEB-
14',1,4),(4,'Sai','Boyinee',600000,'01-FEB-13',2,3),
(5,'Santhosh','Manikanta',650000,'01-FEB-13',2,2),(6,'Tarun','Santhu',750000,'01-
JAN-13',3,5),(7,'Prem','Chand',650000,'01-MAR-13',3,2),
(8,'Soujanya','Metta',600000,'01-MAR-13',2,3);
drop table Employee;
create table Employee(Employee_id integer,first_name text,last_name text,salary
integer,joining_date date,department_id integer,manager_id integer);
create table Department(dept_id integer,name text);
select * from Department;
insert into Department(dept_id,name)values(1,'Banking'),(2,'Insurance'),
(3,'Services');

You might also like