LOL. Have you been following
these two threads?
Sometimes you can do queries like I think you're saying, sometimes not.
Whenever you're counting based on "different wheres" see if "case when .. then .. end" logic inside your count()s will do the trick.
Any and all ideas? Post some detailed table structures, sample data, and some queries you've tried.
Are you talking stuff like this?
(The "1" in "then 1" is a dummy value. Count() works on null vs. nonnull, so anything other than a null will do.)
(Sorry, I won't be around again until next week.)
[ June 23, 2006: Message edited by: Michael Matola ]