点击

逻辑运算符

逻辑运算符

​ not 或! 逻辑非

​ and 或 && 逻辑与

​ and的优先级高于 or

​ or 或 || 逻辑或

​ xop 逻辑异或 select a xop b from dual;

​ 不同为真,相同为假

image-20221106125954501

位运算

​ & 按位与

​ | 按位或

​ ^ 按位异或

​ ~ 按位取反

​ >> 右移运算符

​ << 左移运算符

posted @ 2023-01-23 15:01  RILI520  阅读(27)  评论(0)    收藏  举报