Viewing 2 posts - 1 through 2 (of 2 total)
Try this,
This will delete all records where path ='C:\my\'
delete temp where path ='C:\my\' and id (select min(id) from temp where path ='C:\my\' )
July 3, 2009 at 3:56 am
#1019693
To get Third highest value..
Try this..
SELECT MAX(col_name) FROM Table1 A
WHERE 3 = (SELECT COUNT(*)+1 FROM Table1 B WHERE A.Col_name< B.Col_name)
March 9, 2009 at 11:27 pm
#956578