could not execute query insert into visitor_saved set total_visits=((select if(old_visits.total_visits is NULL,0,old_visits.total_visits) total_visits from visitor_saved old_visits order by old_visits.created_date desc limit 1)+(SELECT count(views) FROM visitors where datetime<'2021-05-01')) ,total_views=((select if(old_views.total_views is NULL,0,old_views.total_views) total_views from visitor_saved old_views order by old_views.created_date desc limit 1)+(SELECT sum(views) FROM visitors where datetime<'2021-05-01')) ,lastmonth_visits=(SELECT count(views) FROM visitors where datetime like '%2021-05-%') ,lastmonth_views=(SELECT sum(views) FROM visitors where datetime like '%2021-05-%') ,created_date='2021-06-21 20:06:57'