Ben Nadel at NCDevCon 2011 (Raleigh, NC) with:
( photo link )
Posted on May 14, 2010 at 10:51 AM
This SQL isn't syntatically correct as ISNULL() only takes 1 parameter. I would suggest something along the lines of: IF( ISNULL( COUNT(r.id)), 0, COUNT(r.id) ) AS reward_count... read more »
Ben Nadel © 2014.
All content is the property of Ben Nadel and BenNadel.com