Cabinet Folliot select *, sb.ref_client AS reference_client from bien b, selection_client sb where sb.ref_client = and b.reference = sb.ref_bienYou 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 b.reference = sb.ref_bien' at line 1