SELECT ListOrder.ListID, List.Listname, Count.Updated FROM ListOrder LEFT OUTER JOIN Count ON ListOrder.ListID=Count.ListID AND ListOrder.SelectID=Count.SelectID JOIN List ON ListOrder.ListID=List.ListID WHERE List.ManagerID = 1875 GROUP BY ListOrder.ListID, List.Listname, Count.Updated HAVING Count.Updated >= GetDate()-180Now, if I leave out the HAVING clause, it works but I need to restrict the Updated date to just last 6 months or so. I tried first using WHERE clause instead of HAVING but didn't work.