[Sequential] Allow more than one query per execution

Also formatting the output properly.