CGI interview question

A question regarding SQL Queries.