johnkainn
asked on
subquery cnt>x
If I have a query like:
select MyText, cnt=(count(*) FROM TableB where TableAId=a.TableAId) FROM TableA a
and I would only like to select those rows where cnt>5. How do I do that?
select MyText, cnt=(count(*) FROM TableB where TableAId=a.TableAId) FROM TableA a
and I would only like to select those rows where cnt>5. How do I do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.