instruction: Select upvote, downvote and netvote for given postId(s) over time.
response: SELECT v.CreationDate, COUNT(CASE WHEN v.VoteTypeId = 2 THEN 1 END) AS UpVotes, COUNT(CASE WHEN v.VoteTypeId = 3 THEN 1 END) AS DownVotes, SUM(CASE WHEN v.VoteTypeId = 2 THEN 1 WHEN v.VoteTypeId = 3 THEN -1 END) AS NetVotes FROM Votes AS v INNER JOIN Posts ON v.PostId = Posts.Id AND (v.VoteTypeId = 2 OR v.VoteTypeId = 3) WHERE Posts.Id IN (101337, 111386) GROUP BY v.CreationDate ORDER BY v.CreationDate