Erreur de la base de données WordPress : [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 'ELEC'
AND (`Starting_Date`= CONVERT(0,DATETIME) OR `Starting_Da' at line 5]
SELECT Unit_Price as price, Sales_Type as type FROM wp_dynamics_nav_sales_price
WHERE
`Item_No`='002813'
AND `Unit_of_Measure_Code`='U'
AND `Variant_Code`='ACTU'ELEC'
AND (`Starting_Date`= CONVERT(0,DATETIME) OR `Starting_Date` <= NOW())
AND (`Ending_Date`= CONVERT(0,DATETIME) OR `Ending_Date`>= NOW())
AND (`Currency_Code` = '')
AND (
`Sales_Type`= 'Tous les clients'
OR (`Sales_Type`= 'Groupe tarifs client' AND `Sales_Code`= '' AND `Sales_Code`<> '' )
OR (`Sales_Type`= 'Client' AND `Sales_Code`= '' AND `Sales_Code`<> '')
)