I have a select statement which is returning me 5 columns (and it is taking 1-2 minutes) one column in this is color (i.e. only three colors Red, Blue and Yellow). Now I want to show the count of the number of rows having Red, Number of rows having Blue and No. of rows having yellow in the same select statement.
Select statement is this
and I want output like this
Any help ?