Meta interview question

Simple SQL functions.