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