Click here to Skip to main content
15,902,445 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
SELECT MemberNo
FROM   PurchasingTable WHERE     (25 <=
                          (SELECT     COUNT(*) 
                           FROM          PurchasingTable
                           WHERE      (Date LIKE '01-2011')
                           GROUP BY MemberNo))


Moved from OP's answer:

I Need Member Name From MemberTable Belongs to PurchasingTable Containing The Person Having More Then 25 Records in PurchasingTable.
Please Help Me!!
Posted
Updated 25-Jan-11 18:42pm
v3

1 solution

...and.... what? Did you have a question or did you just want to post a completely useless piece of code with no explanation of what it does or why you posted it?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900