Meta interview question

basic SQL and other stuff