/* SELECT Users.Reputation, Users.DisplayName FROM Users ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

/* SELECT Users.Reputation, Users.DisplayName FROM Users WHERE Users.Id = 1;

select id, displayname from users where year(creationdate) = 2015 order by displayname;
*/
select OwnerUserId from Posts
where (PostTypeId = 2 and year(CreationDate) = 2014)
and not (PostTypeId = 1 and year(CreationDate) = 2015)
group by OwnerUserId
having count(*) > 0

Enter Parameters

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