Question: 1 . From the instructor table, list instructor ID , instructor last name, instructor first name, course name, and course number The instructor ID in

1. From the instructor table, list instructor ID, instructor last name, instructor first name, course name, and course number The instructor ID in instructors is the same as the instructor ID in courses. Save it as Q1
2. From the instructor table, if the instructor is paid greater than 6,000, print it expensive professor along with last name, first name, department, and salary. Otherwise, print it not expensive. Save it as Q2
3. From the instructor table, if the instructors last name is one of chandar, kamiar, jurewicz, or wong, print it rich people, along with last name, first name, and salary. Otherwise, print it not rich. Save it as Q3
4. From the instructor table, if the instructors last name is one of chandar, kamiar, jurewics, or wong and the salary is greater than 8000, print it very rich, along with last name, first name, and salary. Otherwise, print it rich. Save it as Q4
5. From the kingcounty table, count how many homes were built each year. Name it as homeCount. Save it as Q5
6. From the kingcounty table, display the count of homes built each year. If the count is greater than 10, then print more than 10. Otherwise, print less than 10. Give an alias to the new field as about10. Save it as Q6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!