![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql
编程不是很难呀!
这个作者很懒,什么都没留下…
展开
-
Sql server锁表
SQL Server锁表原创 2022-06-01 23:15:20 · 394 阅读 · 0 评论 -
MyBatis Plus中使用or和and问题
MyBatis Plus中使用or和and问题转载 2022-05-18 14:40:02 · 139 阅读 · 0 评论 -
mybatis mapper.xml头标签
mybatis xml文件原创 2022-04-14 14:16:12 · 522 阅读 · 0 评论 -
关于 where 1=1
前言where 1=1有什么用?在SQL语言中,写这么一句话就跟没写一样。在我的理解中 SQL中where1=1 有两个用处1、where 的条件为永真select * from table1 where 1=1与select * from table1完全没有区别,甚至还有其他许多写法,1<>2,‘a’=’a’,‘a’<>’b’,其目的就只有一个,where 的条件为永真,得到的结果就是未加约束条件的。在SQL注入时会用到这个,例如select * from t转载 2021-05-16 17:45:43 · 98 阅读 · 0 评论