You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select
tags,
extract(year from creation_date) year,
extract(quarter from creation_date) quarter,
count(*) count
from`bigquery-public-data.stackoverflow.posts_questions`group by tags, year, quarter
order bycount(*) desc
SELECTt.TagName,
DatePart(quarter, p.LastActivityDate) AS q,
Year(p.LastActivityDate) AS y,
COUNT(p.Id) As NumPosts
FROM Posts p
JOIN PostTags pt ONp.Id=pt.PostIdJOIN Tags t ONt.Id=pt.TagIdWHERE Year(p.LastActivityDate) =2022AND DatePart(quarter, p.LastActivityDate) =4GROUP BY DatePart(quarter, p.LastActivityDate), Year(p.LastActivityDate), t.TagNameORDER BY y, q, NumPosts DESC