Chipmonk interview question

Join tables in relational database