Professional Documents
Culture Documents
1
Objective:
To study Basic SQL commands (create database, create table, use, drop, insert)
execute the following queries using these commands:
Company Table:
ename ccity empnumber
Null Null null
Experiment No.2
Objective:
To study the viewing commands (select , update)
and execute the following queries using these commands:
Solution:
-> SELECT * FROM Emp WHERE ecity=”Delhi”;
-> update emp set salary= salary+5000
-> select *from emp where salary > 10000;
-> Update company set ccity =’Gurgaon ’ where ename =’TCS’;