SQL:
SELECT count(*) FROM (SELECT pid,count( * ) FROM `[Table]ratelog` where dateline>=1273683027 - 11186400 and point<>0 GROUP BY pid,point) as R left join `[Table]posts` as P ON R.pid=P.pid where P.first=1
Error: Unknown column 'point' in 'where clause'
Errno.: 1054