Marshals and prints very complex SELECT statements in spec