Build a header and a body regardless if the result is 0 rows.