select top 60 ((case when id < 40 then 1 else 0 end) + ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Italian Language Meta

Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Italian language

-- Enter Query Title
-- Enter Query Description


select top 60
  ((case when id < 40 then 1 else 0 end) +
   (case when acceptedanswerid < 40 then 1 else 0 end))
 as pddd, id, acceptedanswerid from posts 

Enter Parameters

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