Q&A for professionals and students of engineering
SELECT datepart(year, CreationDate) as 'year', id, ViewCount FROM ( SELECT CreationDate, id, ViewCount FROM Posts WHERE Tags like '%vue.js%' and CreationDate between '2016-01-01' and '2020-12-31' ) as tb where id > 60829159 ORDER BY 1 ASC, tb.CreationDate ASC;