SELECT dct.car_type_th , dcb.brand_name FROM db_car_type AS dct LEFT JOIN db_car_brand AS dcb ON (dcb.cartype_id = dct.id) WHERE dct.id = AND dcb.id = 69
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 'AND dcb.id = 69' at line 6