Professional Documents
Culture Documents
Question #1: Write appropriate Structured Query Language Statements to do followings jobs.
1. Write a query to show name, age and Department of the ALL Male Teachers OF IBA Department.
2. Write a query to show TeacherID, Name, AGE and Department who are either visiting or permanent.
3. Write a query to show teachers who pay per Hour is at least 1000 and lives in Gujranwala
4. Write a query to show Minimum and Maximum age of teacher who have 5 or less working hour/day but not
belong to LAW department.
5. Write a query to show all data of those teachers who were born in 1990’s.
6. Write a query to show total and average working hour per Day of teachers, Department wise.
8. Write a query to show TEACHER_ID, Name and teacher’s pay per day.
(Pay per day = working hour per day * pay per Hour)
(Earning per month = (working hour per day * pay per Hour)*30)