MySQL is the database
> Is there a function to get the number of most occurences in a database?
> Like, in a table, if i have values:
[quoted text clipped - 13 lines]
>
> Is there a way that it can return 8 since it's the most occured number?
Being that this is homework, look up COUNT, MAX and GROUP BY.
> Is there a function to get the number of most occurences in a database?
> Like, in a table, if i have values:
[quoted text clipped - 13 lines]
>
> Is there a way that it can return 8 since it's the most occured number?
Logan Buesching - 28 Feb 2005 06:39 GMT
Actually, it's not homework at all, and if you are implying that I am
trying to get the answer to a problem in one of my classes then you need
to not ASSuME.
Anyways, thanks for the info, I got the problem fixed.
> Being that this is homework, look up COUNT, MAX and GROUP BY.
>
[quoted text clipped - 15 lines]
>>
>>Is there a way that it can return 8 since it's the most occured number?