FUNCTION chwbr_com.to_frist_pinyin does not exist
select count(*) as total from ***_ecms_photo where pinyin(left(title,1))='A'