Imagine that I have a table like below, I want to group by Campaign Id and then select the records that Type is 1
I write below code but doesn\'t work properly