Re: Histogram from tables.

2006-01-13 Thread SGreen
[EMAIL PROTECTED] wrote on 01/13/2006 10:16:44 AM: > I have a large table of filenames and creation dates from which I want > to produce a histogram. > > SELECT year(date), quarter(date), count(0) FROM pics > WHERE date(date) > '2000' AND date(date) < ' 20

Re: Histogram from tables.

2006-01-13 Thread Wolfram Kraus
Mike Martin wrote: I have a large table of filenames and creation dates from which I want to produce a histogram. SELECT year(date), quarter(date), count(0) FROM pics WHERE date(date) > '2000' AND date(date) < ' 2005' GROUP BY year(date), quarter(date) Gets

Re: Histogram from tables.

2006-01-13 Thread Pooly
Hi, 2006/1/13, Mike Martin <[EMAIL PROTECTED]>: > I have a large table of filenames and creation dates from which I want > to produce a histogram. > > SELECT year(date), quarter(date), count(0) FROM pics > WHERE date(date) > '2000' AND date(date) < ' 2

Re: Histogram from tables.

2006-01-13 Thread Peter Brawley
Mike, I have a large table of filenames and creation dates from which I want to produce a histogram. SELECT year(date), quarter(date), count(0) FROM pics WHERE date(date) > '2000' AND date(date) < ' 2005' GROUP BY year(date), quarter(date) Gets me close, but to

Re: Histogram from tables.

2006-01-13 Thread Gary Richardson
want > to produce a histogram. > > SELECT year(date), quarter(date), count(0) FROM pics > WHERE date(date) > '2000' AND date(date) < ' 2005' > GROUP BY year(date), quarter(date) > > Gets me close, but to simplify plotting, I want to include rows for

Histogram from tables.

2006-01-13 Thread Mike Martin
I have a large table of filenames and creation dates from which I want to produce a histogram. SELECT year(date), quarter(date), count(0) FROM pics WHERE date(date) > '2000' AND date(date) < ' 2005' GROUP BY year(date), quarter(date) Gets me close, but to simplify p

Re: Histogram?

2001-10-26 Thread Carl Troein
George Eric R Contr AFSPC/CVYZ writes: > Is there any function/command/neat query that you can use to get a histogram > of a column's values? I didn't find anything in the manual or the DuBois > book. GROUP BY does the trick, as long as you can make an expression that conv

Histogram?

2001-10-25 Thread George Eric R Contr AFSPC/CVYZ
Is there any function/command/neat query that you can use to get a histogram of a column's values? I didn't find anything in the manual or the DuBois book. If not, can anybody comment on how difficult this might be to implement as a user defined function? I haven't looked into t