MySQL-where 1=1

ZHOU_VIP發表於2018-08-09

where 1=1 是為了避免where關鍵字後面的第一個詞直接就是 “and”而導致語法錯誤

https://blog.csdn.net/le945926/article/details/80339890

https://blog.csdn.net/fu_manxing/article/details/52329234

https://www.cnblogs.com/wangcongsuibi/p/7813445.html

相關文章