Q&A for users of Linux, FreeBSD and other Un*x-like operating systems
select ParentId as [Post Link], count(id) from posts where body LIKE '%thank%' and (LEN(body) < 100) group by parentid having count(id) > 1 order by count(id) desc;