Bell interview question

Some SQL problems and some brain teasers