Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Italian language
create table #TopIds ( Id int ) insert into #TopIds select top 1000000 p.Id from Posts p where p.PostTypeId = 1 select Id from #TopIds