大酒店服务员累吗:ORACLE中怎么判断某个字段的最后两位是否为某个值(CHAR型)
来源:百度文库 编辑:高校问答 时间:2024/05/10 19:42:46
例如:
select field from table where (field的最后两位等于"AB")
select field from table where (field的最后两位等于"AB")
select field from table where field like '%AB'
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/05/10 19:42:46
select field from table where field like '%AB'