Pratical Questions
Pratical Questions
TABLE: ADMIN
CODE GENDER DESIGNATION
1001 MALE VICE PRINCIPAL
1009 FEMALE COORDINATOR
1203 MALE HOD
1045 MALE SENIOR TEACHER
7. Consider the information stored in the table EMP and perform the
following operation on it:
EMPNO ENAME DEPT SALRY
1 Rajesh IT 60000
2 Anusha History 65000
3 Kinshuk Marketing 70000
4 Abhay Fashion Studies 45000
(i) Enter above records in the table with the use of python program.
(ii) Perform following queries with use of python program.
(a) Display all the records in python which is stored in EMP table.
(b) Display all records in python whose salary >50000.
(c) Update salary for all the employees by 10% .