store order --------------------- Sears 25 Sears 36 Dillards 70 Dillards 12 Dillards 80 Wal-Mart 10
I am looking to display them as followed:
store order --------------------- Dillards 70 Dillards 12 Dillards 80 Sears 25 Sears 36 Wal-Mart 10
I have tried using queries such as:
SELECT COUNT(*), store, order FROM table GROUP BY store ORDER BY COUNT(*)
which gives me.
store order --------------------- Dillards 3 Sears 2 Wal-Mart 1
I am looking to have them ordered in that fashion but also showing each order number. Any tips advice or help is greatly appreciated.

New Topic/Question
Reply



MultiQuote




|