Ivalua Interview Question

Write a class structure and some basic SQL queries with joins etc.