|
|
|
| Доброго всем времени суток!
Подскажите кто знает в чем причина что один и тот же запрос
SELECT t1.name,
t1.title,
t1.annotation,
t1.body,
t1.template,
t2.body as shablon,
t2.title as addtitle,
t3.name as parent_name,
t3.title as parent_title,
t2.annotation as addanot,
t2.keywords as addkey,
date_format(t1.date,'%d.%m.%Y') as fdata
FROM Stat as t1,Stat as t3 left join Stat as t2 on(t2.name=t1.template)
WHERE (t1.name = 'stat1') and t3.name=t1.parent_name
|
На одном сервере выполняется без проблем а на другом возвращает ошибку Unknown column 't1.template' in 'on clause'
Спасибо! | |
|
|