Magenic Interview Question

A few whiteboard questions. SQL questions, fairly simple programming problems.