first pass at SQL lab