The database has the tables
Person(Id, Firstname, Lastname)
Dead(Id, DateOfDeath)
Marriage(HusbandId, WeddingDate, WifeId)
Divorced(HusbandId, WeddingDate, DateOfDivorce)
- Give the query "Names of Melanie Griffith's husbands
and the dates they where wedded with Melanie Griffith" in SQL and as a relational algebra expression.
- Give the query "Names of Melanie Griffith's dead husbands"
in SQL and as a relational algebra expression.