Databases
Question #1:
What is average weight of
babies delivered by Jones
to mothers with heights > 170 cm?
The join with the baby table results in 2 records.
| PhName | MHt | M# | Deliv | MWt | BWt |
|---|---|---|---|---|---|
| Jones | 177 | 392382 | 7512 | 57.4 | 3.6 |
| Jones | 177 | 392382 | 7706 | 58.2 | 3.4 |
From these we can calculate the average weight.
We have carried out 4
relational operations
(Join, Project, Select and Join).
Slide show generated from dbms.html by Weasel 2007 Mar 21