1: 2: 3: 4: 5: 6: 7:
select * from cust where exists ( select null from ord where cust.id = ord.custd )