HARMAN interview question

functional interface, easy sql query