0% found this document useful (0 votes)
4 views2 pages

Chanchal

Uploaded by

riyatorane1234
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)
4 views2 pages

Chanchal

Uploaded by

riyatorane1234
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/ 2

Name: Chanchal Bedse

Roll no: 59

Seat no:428207

create table emp(empno int primary key,ename varchar(50),job varchar(50),mgr varchar(50),sal


int,deptno int);

insert into emp(empno ,ename ,job ,mgr ,sal ,deptno) values


(1,'chanchal','Mumbai','IT',50000,101);

insert into emp(empno ,ename ,job ,mgr ,sal ,deptno) values (2,'sakshi','Nashik','CM',10000,102);

insert into emp(empno ,ename ,job ,mgr ,sal ,deptno) values (3,'vaishnavi','Pune','EE',20000,103);

insert into emp(empno ,ename ,job ,mgr ,sal ,deptno) values (4,'nikita','Dhule','CC',60000,104);

insert into emp(empno ,ename ,job ,mgr ,sal ,deptno) values


(5,'anuja','Mumbai','HOD',30000,105);

select * from emp;

1)

2)

select * from emp where sal between 20000 and 50000;

3)
select * from emp where job IN ('Mumbai','Pune','Nashik');

You might also like