´╗┐Zapytanie niepoprawne: SELECT bwa_image.name AS Iname, bwa_image.file AS Ifile, bwa_image.id AS imgID,bwa_image.file AS Ifile, bwa_artist.id AS artID, bwa_artist.Name AS Aname, bwa_artist.SName AS Asname, bwa_wystawa.title AS Wtitle, bwa_wystawa.cm_date AS Wdate,bwa_wystawa.cm_date_end AS Wdate_end, bwa_wystawa.id AS Wid FROM bwa_image LEFT JOIN bwa_artist_image ON bwa_image.id=bwa_artist_image.id_img LEFT JOIN bwa_artist ON bwa_artist_image.id_art=bwa_artist.id LEFT JOIN bwa_artist_wystawa ON bwa_artist.id=bwa_artist_wystawa.art_id LEFT JOIN bwa_wystawa ON bwa_artist_wystawa.wyst_id=bwa_wystawa.id WHERE bwa_wystawa.id = ORDER BY bwa_artist.SName ASC, bwa_artist.Name ASC
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 'ORDER BY bwa_artist.SName ASC, bwa_artist.Name ASC' at line 7