SELECT COUNT(*) as count, comment FROM posthistory WHERE...

0

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 * FROM posthistory where postid=5446;

SELECT 
COUNT(*) as count, comment
FROM
  posthistory
WHERE
  PostHistoryTypeId = 10
GROUP BY
  comment
;

Enter Parameters

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