SQL: SELECT t.*, p.rate FROM cdb_threads t USE INDEX(displayorder)LEFT JOIN cdb_posts p ON (t.tid=p.tid AND t.lastpost=p.dateline)
LEFT JOIN cdb_posts p USING(tid, dateline)
WHERE t.fid='17'
ORDER BY t.displayorder DESC, t.lastpost DESC
LIMIT 0, 30
Error: Not unique table/alias: 'p'
Errno.: 1066
=============
if add ''$dotadd2''
will show this error