题解 | 查看学校名称中含北京的用户
查看学校名称中含北京的用户
https://www.nowcoder.com/practice/95d9922b1e2a49de80daa491889969ee
select device_id,age,university from user_profile where university like '%北京%'
继续昨天的练习
这里涉及到的是和字符表达有关的部分,名称里面含有某个字符或者是数值之类的,直接用like来进行衔接和表达,前后用%来表示
查看学校名称中含北京的用户
https://www.nowcoder.com/practice/95d9922b1e2a49de80daa491889969ee
select device_id,age,university from user_profile where university like '%北京%'
继续昨天的练习
这里涉及到的是和字符表达有关的部分,名称里面含有某个字符或者是数值之类的,直接用like来进行衔接和表达,前后用%来表示
相关推荐