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