Thanks spirit1 for your speedy replyThat worked great and did exactly what was asked but I have now found that the spec has changed a littleI have the following fields : con_num ' account numbercust_ref ' customer referencedestination ' destinationcon_date ' account datestat_code ' status_codesumm_desc ' summary descriptiongmt_eve_date ' event daygmt_eve_time ' Event timeWhat I am trying to achieve is to first group then order the con_num, gmt_eve_date and gmt_eve_time to give me the most recent events for that particular account numberIn addition the account number is fed from a search so could be an exact match or could be LIKE. I am having problems first ordering and grouping the first part and then ensuring I get the right result. I should be getting back about 1000 records but at present I only have about 50Here is what I have so far. Please don't laugh 
Select con_num, cust_ref, l.location as destination, con_date, stat_code, summ_desc, gmt_eve_time, gmt_eve_datefrom delivery as t1 join location l on l.dep_code = t1.dest_dep where (select count(con_num) from delivery where con_num like '%8019%') <= 2order by con_num, gmt_eve_date desc, gmt_eve_time desc