Nov 7, 2006 #1 DLTaylor MIS Joined Dec 17, 2003 Messages 51 Location GB I have a table where I need to only want to return the 2nd row no matter what the values contained within the row. Is there a simple way to do this? Thanks
I have a table where I need to only want to return the 2nd row no matter what the values contained within the row. Is there a simple way to do this? Thanks
Nov 7, 2006 #2 r937 Technical User Joined Jun 30, 2002 Messages 8,847 Location CA Nth row" makes sense only with respect to the values in a certain column for example, here's the row with the 2nd highest qux value: Code: select foo , bar , qux from daTable where qux = ( select max(qux) from daTable where qux < ( select max(qux) from daTable ) ) r937.com | rudy.ca Upvote 0 Downvote
Nth row" makes sense only with respect to the values in a certain column for example, here's the row with the 2nd highest qux value: Code: select foo , bar , qux from daTable where qux = ( select max(qux) from daTable where qux < ( select max(qux) from daTable ) ) r937.com | rudy.ca