Put result after the select rather than at the end of the first line (for consistency)