Dear Friends:
I have a question, which i am not sure if it works in sql.
i have member names in a table with their number of orders field.
MEMBERS
-------
ID
MEMNAME
NUMOFDEL
I want to show the first 50 members having the maximum number of orders (NUMOFDEL) grouped as well by MEMNAME or ID.
Example:
1 JOHN 500
2 DANY 490
3 MIRA 490
4 ISAAC 375
:
:
:
50 FRED 150
Thanks.
I have a question, which i am not sure if it works in sql.
i have member names in a table with their number of orders field.
MEMBERS
-------
ID
MEMNAME
NUMOFDEL
I want to show the first 50 members having the maximum number of orders (NUMOFDEL) grouped as well by MEMNAME or ID.
Example:
1 JOHN 500
2 DANY 490
3 MIRA 490
4 ISAAC 375
:
:
:
50 FRED 150
Thanks.