◆请问“where f3 & 17 = 0”是啥意思啊? select f1,f2 from tbl where f3 & 17 = 0;这里的f3 & 17 = 0是啥意思啊? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 & 按位与f3 & 17f2 & 00010111[align=center]==== 思想重于技巧 ====[/align] 以下摘自 MySQL 5.1 Reference Manual& Bitwise AND: mysql> SELECT 29 & 15; -> 13The result is an unsigned 64-bit integer. [align=center]==== 思想重于技巧 ====[/align] 是位函数MySQL为位操作使用BIGINT(64位)算法,因此这些操作符有最大64位的一个范围。 & 位与mysql> select 29 & 15; -> 13 MySQL Can't connect to MySQL server on 'localhost'(10061) 查询后在 后台手工选择对推荐信息排序。 在C中获取Mysql存储过程的数据集 存储过程问题! 急,急,急,急mysql语句中如何在一个字符串字段中加入 what's it? 内容。 用2次left join效率高,还是分成3条select效率高? 请教如何提高查询速度???!!! 如何将时间戳转换为正常日期 关于mysql默认值的问题 如何重建MYSQL mssql 语句转换mysql语句的问题:请教 Mysql小问题
[/align]
-> 13The result is an unsigned 64-bit integer. [align=center]==== 思想重于技巧 ====
[/align]
MySQL为位操作使用BIGINT(64位)算法,因此这些操作符有最大64位的一个范围。
&
位与
mysql> select 29 & 15;
-> 13