An Error Was Encountered
Error Number: 1064
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 ') as location, (SELECT COUNT(id) FROM produit WHERE locatio
SELECT *, (SELECT COUNT(id) FROM produit WHERE location="location" AND id_boutique=) as location, (SELECT COUNT(id) FROM produit WHERE location!="location" AND id_boutique=) as vente FROM boutique WHERE id=