query: SELECT T1.Date_Claim_Made ,  T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id GROUP BY T1.Claim_id HAVING count(*)  >  2 UNION SELECT T1.Date_Claim_Made ,  T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id  =  T2.Claim_id WHERE T1.Amount_Claimed  =  ( SELECT max(Amount_Claimed) FROM Claims )
question: Find the claims that leaded to more than two settlements or have the maximum claim value. For each of them, return the date the claim was made and the imight would of the claim.
query_toks: SELECT T1.Date_Claim_Made , T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.Claim_id HAVING count ( * ) > 2 UNION SELECT T1.Date_Claim_Made , T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id WHERE T1.Amount_Claimed = ( SELECT max ( Amount_Claimed ) FROM Claims )
query_toks_no_value: select t1 . date_claim_made , t1 . claim_id from claims as t1 join settlements as t2 on t1 . claim_id = t2 . claim_id group by t1 . claim_id having count ( * ) > value union select t1 . date_claim_made , t1 . claim_id from claims as t1 join settlements as t2 on t1 . claim_id = t2 . claim_id where t1 . amount_claimed = ( select max ( amount_claimed ) from claims )
question_toks: Find the claims that leaded to more than two settlements or have the maximum claim value. For each of them, return the date the claim was made and the imight would of the claim.