Hi,
Did you try to use derived tables to achieve this.
select etc
from tablea a, (select guestid, name from Guest order by guestid) as b
where a.GuestId =b.guestid
order by b.guestid
Helen
--------------------------------
Are you a born again. He is Jehova Jirah unto me