Имя: Пароль:
IT
Веб-мастеринг
Помогите плз с запросом MySQL, какая то странная ошибка
0 megabax
 
11.08.13
21:59
Подскажите плз, почему в запросе:
select log.date as date, stat.name as status, kinds.kind as kind, log.comment as comment from _epp_partners_status as log left join _epp_statuses as stat on log.statusid = stat.id left join _epp_status_kinds as kinds on stat.kindid=kinds.id where partnerid='1' limit 0,5 order by log.date DESC
выдает ошибку #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 log.date DESC' at line 1
и как лечить?
1 Принт
 
11.08.13
22:12
order by log.date DESC limit 0,5
?
2 megabax
 
12.08.13
19:11
(1) спасибо, помогло