eg:
with select query I got the result below:
columnA columnB type1 typea type2 typea type3 typeb type4 typec type5 typed type6 typed type7 typed
with DISTINCT I only got a distinct result , but I also want to get the total number for each individual.
and now I want to get the total number
typea,typeb,typec and typed.
As well as:
columnB total typea 2 typeb 1 typec 1 typed 3
Thank you very much!
source share