大连制作网站,网站怎么做导航页,哪里做网站需求,阜宁网站制作服务查看学校名称中含北京的用户_牛客题霸_牛客网
1.like
select device_id,age,university
from user_profile
where university like %北京%;
注意虽然按实际需求#xff0c;北京一般是排在最前面#xff0c;即北京%#xff0c;但是严格意义上来说#xff0c;搜索含有北京…查看学校名称中含北京的用户_牛客题霸_牛客网
1.like
select device_id,age,university
from user_profile
where university like %北京%;
注意虽然按实际需求北京一般是排在最前面即北京%但是严格意义上来说搜索含有北京的字符应该用%北京%
2.正则表达式
select device_id,age,university
from user_profile
where university regexp 北京;