Write SQL statements that use functions