Невозможно выполнить запрос к БД: 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 '.2019 ap.id_part INNER JOIN Site2.CatalogNew cn ON imn.c02 = cn.id ' at line 6
SELECT
				COUNT(*)
			FROM
				Site2.IssMarketNew imn
				INNER JOIN
					AutoBase.AvitoParts2 ap ON imn.id =15.02.2019 ap.id_part
				INNER JOIN
					Site2.CatalogNew cn ON imn.c02 = cn.id
				INNER JOIN
					Site2.CatalogNew cn2 ON cn.rParent = cn2.id
				INNER JOIN
					Site2.CatalogNew cn3 ON imn.c01 = cn3.id
			WHERE
				ABS(imn.rDealers)=110843 AND
				imn.c01>0 AND
				imn.c02>0 AND
				cn2.l2 = 'Toyota' AND
				cn.l1 = 'Harrier 2 2003-2013' AND
				cn3.l1 = '����������' AND
				 imn.rTrader IN ('292320')