sql - mySQL Error near AS -


can this? i've switched web servers , i'm testing working i'm seeing error. ideas whats wrong query? seemed valid on last host

critical error         database error has occoured.         error returned mysql query error: select f.* fixtures,                     team1.teamname hometeam,                     team1.tid hometeamid,                     team2.teamname awayteam,                     team2.tid awayteamid,        group_concat(n.extra separator ',') scorers,        group_concat(n.homeevent separator ',') homeevent,        group_concat(n.eventtype separator ',') eventtype     fixtures f     left join notifications n on n.fixtureid = f.fid     left join teams team1 on team1.tid = f.hometeam     left join teams team2 on team2.tid = f.awayteam     f.kickoff > 1403823600 , f.lid=1     group f.fid     order n.time asc, f.kickoff asc 

mysql error:

you have error in sql syntax; check manual corresponds mysql server version right syntax use near 'as fixtures, team1.teamname hometeam, team1.tid hometeamid, ' @ line 1

you can't cast wildcard that.. casting single fields

select f.* fixtures 

try like

select f.fixtures fixtures, f.field field 

etc


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -