cal_counter Error in executing select distinct calday_calid from caldaytbl, caltbl where
calday_date >='2019-12-10' and calday_date<='2019-12-24' AND cal_id=calday_calid AND cal_lan = 21 AND cal_category = 8 limit 0, -1error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 2