Q&A for professional and enthusiast programmers
SELECT * FROM Comments WHERE datepart(year, Comments.CreationDate) = 2018 or datepart(year, Comments.CreationDate) = 2019 order by PostId asc