Unknown column 'myarea' in 'where clause'
select count(*) as total from ***_ecms_photo where classid=0 and ( myarea BETWEEN 450700 AND 450722)