Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:

Convert text to sql: What is the name and distance of every aircraft that can cover a distance of more than 5000 and which at least 5 people can fly? | flight : flno , origin , destination , distance , departure_date , arrival_date , price , aid | aircraft : aid , name , distance | employee : eid , name , salary | certificate : eid , aid | flight.aid = aircraft.aid | certificate.aid = aircraft.aid | certificate.eid = employee.eid | 

### Response:

select _ from _ where _ group by _ order by count ( _ ) >= _ asc | select aircraft.name from certificate join aircraft on aircraft.aid = certificate.aid where aircraft.distance > 5000 group by certificate.aid order by count ( * ) >= 5 asc