Search UserId's Favorites for a Tag string. Tag searches use a % wildcard by default.
Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition
-- Search UserId's Favorites for Tags with <TagName> (Wildcard) -- Search UserId's Favorites for a Tag string. Tag searches use a % wildcard by default. SELECT Posts.id as [Post Link], Posts.Score as [Score], Posts.Tags as [Tagged With] FROM Votes, Posts WHERE (Votes.PostId=Posts.Id) AND (Votes.VoteTypeId = 5) AND (Votes.UserId=##User:int##) AND (Posts.Tags LIKE '%##TagName##%') ORDER BY Posts.Score DESC