Jump to content

excluding data from from return.


Liquid Fire

Recommended Posts

here is my query:

 

select COUNT(sr.TID) as t_count, r.Email FROM SalesReport sr INNER JOIN SalesReps r ON r.RepCode = sr.RepCode GROUP BY sr.RepCode HAVING t_count <= 19 AND t_count >= 15

 

is there a way to exclue the t_count from showing up in the returned result?  I am just wondering becuase the only reason i need that there is to get the count, don't need the data passed that point.

Link to comment
https://forums.phpfreaks.com/topic/45751-excluding-data-from-from-return/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.