8. Consider the following database tables 6. File Upload dept.name Biology Comp. Sci. Taylor Elec. Eng. Finance History Music Physics building| budget Watson dept name salary ID name 22222 Einstein Wu...


8.<br>Consider the following database tables<br>6.<br>File<br>Upload<br>dept.name<br>Biology<br>Comp. Sci. Taylor<br>Elec. Eng.<br>Finance<br>History<br>Music<br>Physics<br>building| budget<br>Watson<br>dept name<br>salary<br>ID<br>name<br>22222<br>Einstein<br>Wu<br>El Said<br>Physics<br>Finance<br>History<br>Comp. Sci.<br>Elec. Eng.<br>Biology<br>Srinivasan Comp. Sci.<br>History<br>Comp. Sci.<br>95000<br>90000<br>12121<br>90000<br>100000<br>85000<br>32343<br>60000<br>75000<br>Taylor<br>45565<br>Katz<br>98345<br>Kim<br>80000<br>Painter<br>120000<br>76766<br>Crick<br>72000<br>Painter<br>50000<br>10101<br>65000<br>58583<br>Califieri<br>62000<br>Packard<br>80000<br>Brandt<br>83821<br>15151<br>33456<br>92000<br>Watson<br>70000<br>40000<br>87000<br>Mozart<br>Music<br>Gold<br>Physics<br>Finance<br>76543 Singh<br>80000<br>

Extracted text: 8. Consider the following database tables 6. File Upload dept.name Biology Comp. Sci. Taylor Elec. Eng. Finance History Music Physics building| budget Watson dept name salary ID name 22222 Einstein Wu El Said Physics Finance History Comp. Sci. Elec. Eng. Biology Srinivasan Comp. Sci. History Comp. Sci. 95000 90000 12121 90000 100000 85000 32343 60000 75000 Taylor 45565 Katz 98345 Kim 80000 Painter 120000 76766 Crick 72000 Painter 50000 10101 65000 58583 Califieri 62000 Packard 80000 Brandt 83821 15151 33456 92000 Watson 70000 40000 87000 Mozart Music Gold Physics Finance 76543 Singh 80000 "Teacher" Table "Department" Table a) Write the SQL commands to create both “teacher" and "department" table and make a relationship among these tables by choosing the appropriate primary key and foreign key. b) Write the SQL commands to find the maximum salary of teachers in each department. c) Write the SQL commands to find the names of all teachers in the Computer Science department who have salaries in between $70,000 and $95,00o

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here