没什么意思,这个是做查询是用的,1=1是为了避免其他查询为空时,这条查询语句报错.
如果查询语句为空则显示为select * from book where
这条语句就会报错了,加上1=1,有查询条件,语句不会报错.
select * from book where 1=1
select * from book where 1=1
这个条件语句中1=1是什么意思?
这个条件语句中1=1是什么意思?
其他人气:831 ℃时间:2020-03-11 12:05:43
优质解答
我来回答
类似推荐
猜你喜欢
- 1三年级照样子写句子 例; 秋天的雨是一把钥匙.春天的雨是————.春天的风是————.
- 2women always have the last word.(变成一般疑问句)
- 3The food is delicious.对delicious提问.___ ___the
- 4My uncle lives in Xi'an(in Xi‘an画线)对划线部分提问
- 5线性直流电源 与 开关直流电源 有什么区别?
- 6be made with / be made of / be made from 区别
- 7一、三两个字表示动作,二、四两个字表示名称的词.例:调兵遣将.
- 8美国英语英国英语
- 9what kind of work would you like to do?If i could,i would find a job____ i work fewer hours.
- 10地理地图方面,长江三角洲和松嫩平原,我该记住哪些内容啊,一般考图是怎么出题的?