sql语句的注意点

select * from CallRecords where CallerNumber=001 and  TelNum=02088888881 or id=1;

如果  CallerNumber=001 and  TelNum=02088888881为真的话则不会执行后面的  or  条件

原文地址:https://www.cnblogs.com/cb1186512739/p/9480514.html