Posts by user in TX

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 '%, TX%' 
    or UPPER(Location) LIKE '%TEXAS%' 
    or UPPER(Location) LIKE '%HOUSTON%'
    or UPPER(Location) LIKE '%SAN ANTONIO%'
    or UPPER(Location) LIKE '%DALLAS%'
    or UPPER(Location) LIKE '%AUSTIN%')
    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