Il semblerait qu'il reste une erreur.
SELECT ref_client FROM COMMANDES_2012 I WHERE I.ref_client= 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 '' at line 1