MySQL – Get row number on select

Can I run a select statement and get the row number if the items are sorted? I have a table like this: mysql> describe orders; +————-+———————+——+—–+———+—————-+ | Field | Type | Null | Key | Default | Extra | +————-+———————+——+—–+———+—————-+ | orderID | bigint(20) unsigned | NO | PRI | NULL | auto_increment | | … Read more