more relational algebra and sql