Unknown column 'myarea' in 'where clause'
select count(*) as total from ***_ecms_photo where classid in (8,9,28,29) and ( myarea BETWEEN 650400 AND 650422)