if no value is sent to select, then it returns all records