Этот sql не удается:
select * from RRICallouts as r
JOIN LevelToCalloutsJT as lc on ( `r.__kp_RecID` = `lc._kf_RecID~Callout` )
JOIN Levels as l ON ( `lc._kf_RecID~Level` = `l.__kp_RecID` )
where `l.__kp_RecID` = 201006221644060009
#1054 - Unknown column 'l.__kp_RecID' in 'where clause
Это работает:
select `__kp_RecID` from Levels as l ;
Использование MySQL 5.0.77 в некоторых вариантах Linux