For some people it might look very simple, but I just simply can\'t get it. I have multiple MS-SQL SELECT queries from the same table over and over:
SELECT sum(case when Page LIKE '%AEC%' then 1 end) as tAEC, sum(case when Page LIKE '%TOL%' then 1 end) as tTOL FROM someTable