SELECT aid FROM Aircraft WHERE distance  >  1000
Show ids for all aircrafts with more than 1000 distance.
SELECT aid FROM Aircraft WHERE distance > 1000
select aid from aircraft where distance > value
Show ids for all aircrafts with more than 1000 distance .