摘要: where 1=1有什么用?在SQL语言中,写这么一句话就跟没写一样。 select * from table1 where 1=1与select * from table1完全没有区别,甚至还有其他许多写法,1<>2,'a'='a','a'<>'b',其目的就只有一个,where 的条件为永真,得 阅读全文
posted @ 2017-03-02 15:43 喵哒 阅读(454) 评论(0) 推荐(0)