MySQL Forums
Forum List  »  InnoDB

how do I do a frequency distribution
Posted by: Bert Cooper
Date: October 29, 2006 12:26PM

is there a quick way to return a temp table containing a frequency distribution or bin-count of values in a particular column, specifying a 'bin-size' or increment value for the counts ... other than writing a procedure for each different column
select bincount(age) from personel where binsize = 5;

Options: ReplyQuote


Subject
Views
Written By
Posted
how do I do a frequency distribution
2326
October 29, 2006 12:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.