殿堂级歌手有哪些:sql语言问题

来源:百度文库 编辑:高校问答 时间:2024/05/11 03:14:45
字段名为ID:两种值:060611和060611T
怎么样分别读取两种ID的值??
select * from table where...
其中的"060611"名年月日叠在一起的..
不是固定值..

060611这种:
select * from table where id not like '%T'

select * from table where id like '%[^T]'

060611T这种:
select * from table where id like '%T'

select * from table where id like '%[T]'

select * from table where id='060611' .or. id='060611t';