RE: select count distinct

2002-02-13 Thread Land, Christopher
The following may assist: (three-fifths down) http://www.mysql.com/doc/G/r/Group_by_functions.html Note that if you are using MySQL Version 3.22 (or earlier) or if you are trying to follow ANSI SQL, you can't use expressions in GROUP BY or ORDER BY clauses. You can work around this limitation by

Re: select(count(distinct(status))

2001-04-06 Thread Peter Skipworth
It should work fine as printed...but you'll need mysql 3.23.xx On Fri, 6 Apr 2001, Temeschinko, Michael wrote: > > hi, > > I need to make a select like above in the subject count distinct (I need the > count of the different values of a coloumn) > > Hope you guys won't let me die silly! > :-)