SQL: SELECT p.subject AS re_subject, p.message, t.*, p.rate FROM cdb_threads t 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.displayorder='3' OR t.fid='25')
ORDER BY t.displayorder DESC, t.lastpost DESC
LIMIT 0, 20
Error: Not unique table/alias: 'p'
Errno.: 1066
Similar error report has beed dispatched to administrator before.
SQL: SELECT p.subject AS re_subject, p.message, t.*, p.rate FROM cdb_threads t 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.displayorder='3' OR t.fid='25')
ORDER BY t.displayorder DESC, t.lastpost DESC
LIMIT 0, 20
Error: Not unique table/alias: 'p'
Errno.: 1066
Similar error report has beed dispatched to administrator before.