Make the SQL output easier to read

Number connections for debug purposes.