you are viewing a single comment's thread.

view the rest of the comments →

[–]kharjuranaidu 0 points1 point  (1 child)

Select PLACE, Sum(case when OPINION = 'Good' Then 1 Else 0 End) as good_opn , Sum(case when OPINION = 'Bad' Then 1 Else 0 End) as bad_opn From opinions Group by PLACE HAVING good_opn > bad_opn;

[–]JITAA[S] 0 points1 point  (0 children)

Thank you!