What I'm trying to do is this:
select Store.Id, (select COUNT(*) from StoreProduct
where StoreProduct.Store_id = Store.Id) as _count from Store where _count > 3
SQL Server says it's invalid because the column name '_count' is invalid. Why it's invalid if I'm declaring it?