QQ网名大全

数据库中有一个String类型的字段name,现在要查name中的某一个名字,该怎么查?

where name like "%北京%"
这么写就可以了,就可以查出来name字段中包含了北京的所有数据
佚名
2024-06-08 13:26:46
最佳回答
类似问题(10)