- 论坛徽章:
- 1
|
http://bbs2.chinaunix.net/forumdisplay.php?fid=2&filter=&orderby=replies
Discuz! info: MySQL Query Error
Time: 2010-10-30 11:51pm
Script: /forumdisplay.php
SQL: SELECT t.* FROM [Table]threads t
LEFT JOIN bbs_gbk.[Table]members m ON m.uid=t.authorid
WHERE t.fid='2' AND m.groupid not in (5) AND lastpost>='1285861897' AND t.displayorder IN (0, 1)
ORDER BY displayorder DESC, replies DESC
LIMIT 30
Error: Column 'lastpost' in where clause is ambiguous
Errno.: 1052
Similar error report has beed dispatched to administrator before.
多表关联,,列相同又没有指定表了吧 |
|