/* /home/audiofanet/www/apprendre/mailing_forums/index,idtopic,334371,page,10000.html */ SELECT COUNT(DISTINCT ID_video) FROM video_produit v, produit p where v.ID_produit = p.ID AND p.ID_categorie = UNION SELECT COUNT(DISTINCT ID_video) FROM video_cat WHERE ID_cat =
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 'UNION SELECT COUNT(DISTINCT ID_video) FROM video_cat WHERE ID_cat =' at line 1