Hi, I asked a question earlier this week and i got this statement as the answer:
select published, count(*) nbr
from table1
group by published
order by nbr desc
limit 1
I now want to know how it is possible to add a where clause in to the statement so that i can limit the results i get to the different types of publications. My table looks like this:
The where clause will be on the type column so for example where type=3
.
Thanks in Advance
Dean