JPA and Hibernate Questions by Year

1

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

select 
    count(*) as QuestionCount, 
    CAST(DATEPART (yyyy , Posts.CreationDate) AS INT) as Year
from Posts
join PostTags on Posts.Id = PostTags.PostId
join Tags on Tags.Id = PostTags.TagId
where Tags.TagName = 'hibernate' or Tags.TagName = 'jpa'
group by DATEPART (yyyy , Posts.CreationDate)
order by Year Desc

Enter Parameters

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