See non up/down-votes on my posts

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

declare @UserId int = ##UserId##;


select * 
from posts 
inner join votes
on posts.id = votes.postid
inner join votetypes
on votetypeid = votetypes.id
where owneruserid = @UserId and votetypeid not in (2, 3)

Enter Parameters

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