Posts by user in MA

0

Please login or register to vote for this query.

(click on this box to dismiss)

Aviation

Q&A for aircraft pilots, mechanics, and enthusiasts

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 '%, MA%' 
    or UPPER(Location) LIKE '%MASSACHUSETTS%' 
    or UPPER(Location) LIKE '%BOSTON%'
    or UPPER(Location) LIKE '%WORCESTER%')
    AND location NOT LIKE '%UK%'
    AND UPPER(location) NOT LIKE '%UNITED KINGDOM%'
    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 sites:
loading Hold tight while we fetch your results