Upstream Security interview question

I was asked three simple SQL questions.