I have a SQL query that returns two columns – “Title” and “Count”. When “Title” is NULL or empty (”), I want to combine the result into one row. How can I do this?
This is what I have so far:
SELECT [Title] WHEN '' THEN 'blank' ELSE ISNULL([Title],'blank') AS [Title],
COUNT([value]) AS [Count]
FROM ....
WHERE ....
GROUP BY [Title],[Count]
but because of the Group By, they are split into two different rows:

1 Answer