I need to get rang of University head count
but the problem is the ApprovalDate on table B , and table Post and table Post is one to many relationship , ther connected By UserId .Code:select A.UniversityN, count(*)
from Post
and UpdateId like'U%'
group BY UniversityN and ReceiveDate>='2010-01-01' and ApprovalDate<=''2010-02-02';
any ideal??
________
Yamaha Dt250
