Error: SELECT ladies_profil.LadiesID as LadiesID, alias, Geb, SpeicherDatum as new, ladies_profil.PLZ, ladies_profil.UserID, Bestaetigt, bewertung.LadiesID as BeLaID, AVG(Sterne) as Sterne, PLZ1.PLZ as PLZStadt, PLZ1.Stadt, login.UserID, kontodaten.UserID, kontodaten.AgenturName, PLZ2.Stadt as StadtNameAgentur, honorarDaten.ZwDinnerDate as Dinner, honorarDaten.ZwDinnerDate as Dinner, honorarDaten.ZwPrivTim, honorarDaten.DrPrivTim, honorarDaten.DrPrivTim, honorarDaten.ViPrivTim, honorarDaten.FuPrivTim, honorarDaten.SePrivTim, honorarDaten.AcPrivTim, honorarDaten.EiUeb12Std, honorarDaten.EiUeb15Std, honorarDaten.EiTag, honorarDaten.ZwTage, honorarDaten.DrTage, honorarDaten.SiTage, service.Nat, service.Service, service.Vorlieben, seoUrl FROM ladies_profil Left JOIN bewertung ON ladies_profil.LadiesID = bewertung.LadiesID Left JOIN geodb_plz_stadt as PLZ1 ON PLZ1.PLZ = ladies_profil.PLZ Left JOIN kontodaten ON kontodaten.UserID = ladies_profil.UserID Left JOIN geodb_plz_stadt as PLZ2 ON PLZ2.PLZ = kontodaten.PLZ Left JOIN login ON login.UserID = ladies_profil.UserID Left JOIN honorarDaten ON honorarDaten.LadieID = ladies_profil.LadiesID Left JOIN service ON service.LadieID = ladies_profil.LadiesID Left JOIN seoUrl ON seoUrl.contentID = ladies_profil.LadiesID WHERE ladies_profil.Bestaetigt != 0 AND ladies_profil.Frei != 0 AND seoUrl.art = "profil" AND kontodaten.UserID = 373 GROUP BY LadiesID i.klicks LIMIT 0, 27
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 'i.klicks LIMIT 0, 27' at line 76