2203A51431 Assignment 2
2203A51431 Assignment 2
SCIENCE
DATABASE MANAGEMENT SYSTEMS
Assignment-2
Name : N.SWARAN CHANDRA
Hall ticket no : 2203A51431
Section : B
Batch : 6
------------------------------------------------------------------------------------------------------------
( &epid,’&fn’, ’&ln’,’&dept’,’&dsig’,&exp,&sal);
Display the first name, last name and salary of the employees whose
experience is 5 years and above.
Command : select fn,ln from swaran_1431 where exp>=2 and dept=’cse’ and
sal>=15000;
Update the salary of the employee to 60k for those whose names start
with ‘A’.
Command : select distinct ep_id from swaran_1431 where sal>=10000 and exp>=3
order by ep_id ASC;