摘要: 在mysql中 IF(expr1,expr2,expr3),如果expr1的值为true,则返回expr2的值,如果expr1的值为false, 则返回expr3的值。 例: select * from a_onelayer where if(id !='',id='1',1=1) 阅读全文
posted @ 2018-09-26 15:58 一杯清茶一本书 阅读(351) 评论(0) 推荐(0) 编辑