Misspellings of Warren Buffett's name

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 500
  COUNT(QuestionId) AS NumberOfTypos, QuestionId AS [Post Link]
FROM (
  SELECT
    id,
    CASE
      WHEN ParentId IS NULL THEN id
      ELSE ParentId
    END AS QuestionId
  FROM Posts
  WHERE
    REPLACE(LOWER(title), 'buffett', '') LIKE '%buffet%'
    OR REPLACE(LOWER(body), 'buffett', '') LIKE '%buffet%'
) t
GROUP BY QuestionId
ORDER BY COUNT(QuestionId) DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results