sql - SEDE - Graph points plot seems wrong -
caused blog post flash dead curious , wrote a query count use of asp.net-tags.
select (datediff(month,posts.creationdate, @postcreatedafter)*1) monthsago ,tags.tagname ,count(posts.id) nrofposts tags inner join #tagfilter on tags.tagname = #tagfilter.filtertagname inner join posttags on tags.id = posttags.tagid inner join posts on posts.id = posttags.postid posts.creationdate >= @postcreatedafter group tags.tagname ,(datediff(month,posts.creationdate, @postcreatedafter)*1)
graph output
the skewed plotting occurs after adding tag temp-table (for example adding (4, 'asp.net-mvc-3')
)
insert #tagfilter (t, filtertagname) values (0, 'c#'), (1, 'asp.net'), (2, 'asp.net-mvc'), (3, 'asp.net-mvc-2'); -- (4, 'asp.net-mvc-3');
two other revisions
does know might cause?
Comments
Post a Comment