select year(Votes.CreationDate) as [Year]--, from Votes l...

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Great Outdoors

Q&A for people who love being outdoors enjoying nature and wilderness, and learning about the required skills and equipment

select 
year(Votes.CreationDate) as [Year]--, 
--count(Votes.Id)
from 
Votes
left join Posts on PostId = Posts.Id
where
VoteTypeId in (4,12)
--group by
--year(CreationDate)
order by
[Year]
asc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results