SQL: SELECT attach.aid, attach.attachment, t.tid, t.fid, t.subject FROM [Table]attachments attach LEFT JOIN [Table]threads t ON t.tid=attach.tid WHERE attach.readperm='0' AND displayorder>='0' AND filetype='image/pjpeg' GROUP BY attach.tid ORDER BY attach.dateline DESC LIMIT 6 Error: Column 'displayorder' in where clause is ambiguous Errno.: 1052
Similar error report has beed dispatched to administrator before.