SELECT i.*,(az.score/az.remarknum) as avgs FROM `brand_scorestats` az left join brand_shopitems i on
az.itemid=i.itemid where i.subject is not null order by avgs desc
SQL: SELECT i.*,(az.scoreaz.remarknum) as avgs FROM `[Table]scorestats` az left join [Table]shopitems i on
az.itemid=i.itemid where i.subject is not null order by avgs desc LIMIT 0,5
Error: Unknown column 'az.scoreaz.remarknum' in 'field list'
Errno.: 1054