Trying to figure this out.
DOC#
PAGE
LINE
SELECT DOC,PAGE,LINE FROM TABLE
ORDER BY PAGE,LINE ASC;
Shows the following;
DOC PAGE LINE
12345 1 1
12345 1 2
12345 2 10
12345 2 5
12345 2 6
How can I sort so line 5 and 6 on page 2 come before line 10 on page 2?
any help would be appreciated
Thanks
DOC#
PAGE
LINE
SELECT DOC,PAGE,LINE FROM TABLE
ORDER BY PAGE,LINE ASC;
Shows the following;
DOC PAGE LINE
12345 1 1
12345 1 2
12345 2 10
12345 2 5
12345 2 6
How can I sort so line 5 and 6 on page 2 come before line 10 on page 2?
any help would be appreciated
Thanks