hello. This is my first post.
I am not a SQL person.
I know there is criteria solution for what I need but I cannot recall. I hope one of you nice friends will help me.
I have a field ( title Remarkmemo) in my table.
each record in that field is populated with a customer number (xxxxxx.xxxx).
I would like to call a criteria for the field, to count the total occurances of customer numbers, and give me the top 10 occurences.
e.g.:
xxxxxx.xxxx 15
yyyyyy.yyyy 21
etc..
I know it is possible without sql only using criteria, but I don't know how..
Please help.
many thanks...
I am not a SQL person.
I know there is criteria solution for what I need but I cannot recall. I hope one of you nice friends will help me.
I have a field ( title Remarkmemo) in my table.
each record in that field is populated with a customer number (xxxxxx.xxxx).
I would like to call a criteria for the field, to count the total occurances of customer numbers, and give me the top 10 occurences.
e.g.:
xxxxxx.xxxx 15
yyyyyy.yyyy 21
etc..
I know it is possible without sql only using criteria, but I don't know how..
Please help.
many thanks...