select coalesce(p.uuid,convert( '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0',BINARY)), date(bc.date) d, count(bc.id)
from
http://www.geeksengine.com/database/single-row-functions/conversion-functions.php
select coalesce(p.uuid,convert( '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0',BINARY)), date(bc.date) d, count(bc.id)
from
http://www.geeksengine.com/database/single-row-functions/conversion-functions.php