p.ViewCount AS 'Nombre de vues' FROM Posts p

1

Please login or register to vote for this query.

(click on this box to dismiss)

p.ViewCount AS 'Nombre de vues' 6 FROM Posts p

Economics

Q&A for those who study, teach, research and apply economics and econometrics

SELECT
  p.OwnerDisplayName AS 'auteur',
  p.Title AS 'titre',
  pt.Name AS 'Type de post',
  p.ViewCount AS 'Nombre de vues'
FROM Posts p
JOIN PostTypes pt
ON p.PostTypeId = pt.Id
WHERE p.ViewCount = (
    SELECT MAX(p.ViewCount)
    FROM Posts p);

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results