query: select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum(cost_of_treatment)  >  1000 )
question: Which dogs ain't cost their owner more than 1000 for no treatment ? List the dog names.
query_toks: select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum ( cost_of_treatment ) > 1000 )
query_toks_no_value: select name from dogs where dog_id not in ( select dog_id from treatments group by dog_id having sum ( cost_of_treatment ) > value )
question_toks: Which dogs ain't cost their owner more than 1000 for no treatment ? List the dog names.