Q&A for passionate videogamers on all platforms
CREATE TABLE #View_Posts ( id int IDENTITY PRIMARY KEY NOT NULL, ViewCount int NOT NULL ) INSERT INTO #View_Posts (ViewCount) SELECT ViewCount FROM Posts WHERE PostTypeId = 1 ORDER BY ViewCount SELECT * FROM #View_Posts WHERE (id % CEILING((SELECT COUNT(*) FROM #View_Posts)/100) = 0)
Error: looks like you typed in the wrong words - try again