Advantage Error Guide
Problem: An ordinal value used in the ORDER BY clause is greater than the available number of columns. For example, the statement "SELECT field FROM mytable ORDER by 2" is not valid because the ordinal "2" is greater than the number of columns selected (1).
Solution: Adjust the ordinal value.