CGI interview question

only basic database questions. not hard