On the problem of logical operators

! a & & b | | c;
ask everyone how to explain this

Jul.11,2022

precedence of logical operators

  Operator precedence  

! Logic reverses
& & Logic and
| | Logic or

priority from high to low, first execute the high priority, an inverts, then the result and b logic and, finally, the previous result and c logic OR.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea1869-1b60.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea1869-1b60.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?