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 'AND VID.url != 'videos-rap-us/50-cent-outta-control'
GROUP BY RELAT.`idvideo`
OR' at line 6
SELECT VID.titre, VID.image, VID.description, VID.tags, VID.url, VID.date, VID.tags, VID.player, VID.type,
GROUP_CONCAT(CONCAT('', CAST(ART.artiste AS CHAR(25)), '')) AS artistes
FROM `t_relations` AS RELAT
INNER JOIN `t_videos` AS VID ON VID.id = RELAT.idvideo
INNER JOIN `t_artistes` AS ART ON ART.id = RELAT.idartiste
WHERE VID.etat = 'rapus' AND RELAT.idartiste = AND VID.url != 'videos-rap-us/50-cent-outta-control'
GROUP BY RELAT.`idvideo`
ORDER BY RAND()
LIMIT 0, 2