Posted by Anthony Frost on 10/14/22 11:26
In message <1cj6i1phm0l2cg5nh3gd6a511vahaeqfu7@4ax.com>
hamstring <agent@agent.com> wrote:
> Is it possible to 'order by' 2 columns in a database
>
> I want it sorted to
> COL1 COL2
> AA 7
> AD 5
> AZ 5
> BC 5
> AB 2
> AF 1
ORDER BY COL2, COL1
List the main column first, then the column to use if the entries in the
main column are the same.
Anthony
Navigation:
[Reply to this message]
|