SQL: SELECT count(p.tid) as num,p.author,p.authorid,m.uid,m.credits,m.posts,m.digestposts ,m.oltime
FROM [Table]threads p left join [Table]members m on p.authorid=m.uid WHERE p.dateline>=1178812800 and digest>0 group by p.authorid order by num desc limit 0,10
Error: Column 'digest' in where clause is ambiguous
Errno.: 1052