I am not sure if this is possible or not
I have a table with orders
and userid
I need to do a SELECT
query with ORDER BY
the least number of orders of a customer
Example:
userid1 has 10 orders
userid2 has 5 orders
Then SELECT
should show userid2
at the top
Thanks in advance