cal_counter Error in executing select distinct calday_calid from caldaytbl, caltbl where
calday_date >='2022-06-23' and calday_date<='2022-07-07' AND cal_id=calday_calid AND cal_lan = 11 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