select * from Student where replace(sno,'0-','')='' 把零和-还有空格都去掉为''的查出来
[quote=引用 6 楼 Summer_djz 的回复:] 你是固定的就直接 select * from table where column="0-0 0-0 0-0"
你是固定的就直接 select * from table where column="0-0 0-0 0-0"
select * from table where column1='0-0' and column2='0-0' and column3='0-0' 你这描述,这样写是性能最好的
111,094
社区成员
642,554
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧