Zapytanie niepoprawne: SELECT AS Iname, bwa_image.file AS Ifile, AS imgID,bwa_image.file AS Ifile, 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, AS Wid FROM bwa_image LEFT JOIN bwa_artist_image ON LEFT JOIN bwa_artist ON LEFT JOIN bwa_artist_wystawa ON LEFT JOIN bwa_wystawa ON WHERE = 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