Correct each sql statement to be on same row