Chipmonk Interview Question

Join tables in relational database