select device_id, substring_index (blog_url, "/", -1) as user_name from user_submit 主要是substring_index函数的运用substring_index(content,'分隔符',索引)如:www.wyj.con,substring(url,'.'1)-->wwwwww.wyj.con,substring(url,'.'2)-->www.wyjwww.wyj.con,substring(url,'.'-1)-->com