sql error: Unknown column 'IBGAdded' in 'where clause' SELECT COUNT(*) AS thits FROM redbpillar9.property WHERE City='Taber' AND (IBGAdded >= DATE_SUB(NOW(), INTERVAL 14 DAY))