CGI Interview Question

Various SQL queries, normalisations etc.