Question: Product maker model type A 1001 pc A 1002 pc A 1003 pc B 1004 pc B 1005 pc B 1006 pc C 1007 pc

| maker | model | type |
|---|---|---|
| A | 1001 | pc |
| A | 1002 | pc |
| A | 1003 | pc |
| B | 1004 | pc |
| B | 1005 | pc |
| B | 1006 | pc |
| C | 1007 | pc |
| D | 1008 | pc |
| D | 1009 | pc |
| D | 1010 | pc |
| E | 1011 | pc |
| E | 1012 | pc |
| E | 1013 | pc |
| E | 2001 | laptop |
| E | 2002 | laptop |
| E | 2003 | laptop |
| A | 2004 | laptop |
| A | 2005 | laptop |
| A | 2006 | laptop |
| B | 2007 | laptop |
| F | 2008 | laptop |
| F | 2009 | laptop |
| G | 2010 | laptop |
| E | 3001 | printer |
| E | 3002 | printer |
| E | 3003 | printer |
| D | 3004 | printer |
| D | 3005 | printer |
| H | 3006 | printer |
| H | 3007 | printer |
| model | color | type | price |
|---|---|---|---|
| 3001 | True | ink-jet | 99 |
| 3002 | False | laser | 239 |
| 3003 | True | laser | 899 |
| 3004 | True | ink-jet | 120 |
| 3005 | False | laser | 120 |
| 3006 | True | ink-jet | 100 |
| 3007 | True | laser | 200 |
Exercise 2 (relational algebra, 4 pts) Write the following queries for Hardware Database in relational algebra: Find those makers that produce laptops, but not PCs. Find all makers of printers that are cheaper than $150 1. 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
