select 
a.ID ,  a.Date , a.CustomerID , a.Checks
from ordertb a
where not exists(select 1 from ordertb where ID = a.id and Checks > a.Checks)