Consider the sample table below
ProductDetailNo ProductDescription 224 Apples 225 Tomatoes 226 Potatoes
How do I specify a line number for a selected line as shown below?
RowNo ProductDetailNo Product Description 2 225 Tomatoes
Using row_number () in my query simply returns 1 always for a single record, and not for any logical row in the database.
Thanks Damien.
source share