Professional Documents
Culture Documents
Krish SQL File
Krish SQL File
2. Insert 5 record
3. List the names in capital of the male teachers who are in Science or commerce
Department in the descending order of their salary.
5. Increase the salary of all those teachers who have joined before 10-jan-2007 by 20%
8. Display the teacher name, age and salary rounded off to hundredth place.
9. Display the teacher name along with the length of each name.
10. Display those department names where the number of teacher’s working is more
than 5.
11. Display the position of the occurrence of ’a’ in all the teacher names.
12. Display the highest and lowest salary value for each department.
14. Display those department names where the maximum bonus given is more than
20000.
15. Display a report showing the average bonus given to every department.