SELECT [COLOR=Blue][B]Count(tblDEALERS.DNameShort) As CountOfSomething[/B][/COLOR], tblDEALERS.DNameShort, tblSPFSALESPEOPLE.SALESPERSON, tblSPFSUBMISSIONS.SPFSALEID, tblSPFSUBMISSIONS.RETAILSALEDATE
FROM (tblDEALERS INNER JOIN TblDlrPurchases ON tblDEALERS.DLRID = TblDlrPurchases.DLRID) INNER JOIN (tblSPFSUBMISSIONS INNER JOIN tblSPFSALESPEOPLE ON tblSPFSUBMISSIONS.SPFNUM = tblSPFSALESPEOPLE.SPFNUM) ON tblDEALERS.DLRID = tblSPFSALESPEOPLE.DEALER
GROUP BY tblDEALERS.DNameShort, tblSPFSALESPEOPLE.SALESPERSON, tblSPFSUBMISSIONS.SPFSALEID, tblSPFSUBMISSIONS.RETAILSALEDATE
HAVING (((tblDEALERS.DNameShort)=128) AND ((tblSPFSUBMISSIONS.RETAILSALEDATE) Between #9/30/2011# And #9/30/2013#))
[COLOR=Blue][B]ORDER BY Count(tblDEALERS.DNameShort); [/B][/COLOR]