G
Guest
I want a count of States in Order and am thinking that something like "select
count(distinct state) from order;" might work, but it doesn't. I know that I
could do two queries with a "group by state" in the first and a count in the
second, but I would like to be able to do in one query. Any thoughts?
count(distinct state) from order;" might work, but it doesn't. I know that I
could do two queries with a "group by state" in the first and a count in the
second, but I would like to be able to do in one query. Any thoughts?