put all the information returned from a select in the result