SELECT device_id,SUBSTRING_INDEX(blog_url,'/',-1) as user_name FROM user_submit
需求分析:截取字符串中指定内容
解题思路:使用SUBSTRING_INDEX函数