Urban Science interview question

Various SQL commands