SELECT id,personal_phone,REPLACE (personal_phone,REGEXP_REPLACE (personal_phone,'[1][3456789][0-9]{9}','') ,'') as new_str from table WHERE `personal_phone` NOT REGE... 查看更多
select a.*,b.s_score as score01, c.s_score as score02 FROM student a JOIN score b ON a.s_id=b.s_id and b.c_id='01' LEFT JOIN score c ON a.s_id=c.s_id and c.c_id='02' or... 查看更多