Posts by user in WA

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT p.Id AS PostId, p.CreationDate AS PostDate, p.Score, p.OwnerUserId, p.CommentCount
FROM Posts p
INNER JOIN Users u ON u.Id = p.OwnerUserId
WHERE 
    (Location LIKE '%, WA%' 
    or UPPER(Location) LIKE '%WASHINGTON%' 
    or UPPER(Location) LIKE '%SEATTLE%'
    or UPPER(Location) LIKE '%SPOKANE%'
    or UPPER(Location) LIKE '%TACOMA%')
    AND UPPER(Location) NOT LIKE '%DC%'
    AND UPPER(Location) NOT LIKE '%D.C.%'
    AND UPPER(Location) NOT LIKE '%COLUMBIA%'
    AND Reputation >= 10000
    AND convert(date, p.CreationDate) >= convert(date, ##Start:string##)
    AND convert(date, p.CreationDate) <= convert(date, ##End:string##)
    AND p.PostTypeId = 2

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results