Информация
Query failedYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND car_tuning.disk_et_max <= AND car_tuning.disk_et_min >= AND ( car_tuning.d' at line 1 :
SELECT car_brand.id AS brand_id, car_brand.name AS brand, cars.name AS name, cars.id AS car_id, car_tuning.tune_type AS tune FROM car_brand,car_tuning,cars, wheel_pcd WHERE wheel_pcd.id=car_tuning.disk_pcd AND car_brand.id=cars.brand_id AND car_tuning.car_id=cars.id AND wheel_pcd.name LIKE 'Array' AND car_tuning.disk_diametr <= AND car_tuning.disk_et_max <= AND car_tuning.disk_et_min >= AND ( car_tuning.disk_dia <= OR car_tuning.disk_dia = 0 ) GROUP BY cars.id ORDER BY car_tuning.tune_type, car_brand.name, cars.name