mySQL not in 小bug
来源:互联网 发布:腾讯四大网络平台 编辑:程序博客网 时间:2024/06/08 08:24
最近发现一个BUG,没时间解决,先保存在这。
针对MYSQL的not in的一些东西,not in 对于String类型的识别能力不如Integer,同样一句话,查询第一遍一样,我把A表中的数据添加到A_alarm中,在执行本语句,第一种会出现重复现象,NOY IN里面的查询结果两个语句是一样的,不会出现重复,这两个属性都数据唯一,
SELECT * from A where `status`='run' and userGroupId=27
and mmsi not in (SELECT mmsi from A_alarm)
SELECT * from A where `status`='run' and userGroupId=27
and id not in (SELECT A_id from A_alarm)
阅读全文
0 0
- mySQL not in 小bug
- mysql IN NOT IN
- mysql not in 和in
- mysql not(in) 用法
- MySQL NOT IN
- Mysql Not in的问题
- mysql delete where not in
- mySql:in,exists,not exists
- mysql not exists 和 not in对比
- mysql not in 或in 优化
- mysql not in 或 in 优化
- centos安装mysql遇到的小bug
- Iphone开发中的两个小bug,1.调用camera时的内存警告导致view自动upload,2,Not enough frames in stack.
- 【BUG记录】Content is not allowed in prolog错误
- GDB bug ---- Internal error: 【pc 0x69fa8】 in read in psymtab, but not in symtab.
- MySQL中,not in子查询
- mysql not in null 子查询问题
- 关于Mysql用not in 删除问题
- HTML 4.01 快速参考
- spring整合ehcache 注解实现查询缓存,并实现实时缓存更新或删除 写在前面:上一篇博客写了spring cache和ehcache的基本介绍,个人建议先把这些最基本的知识了解了才能对今天
- Memcached简介
- Dubbo安装
- Linux包管理rpm yum
- mySQL not in 小bug
- Nginx搭建Tomcat负载均衡环境
- JAVA正则表达式:Pattern类与Matcher类详解(转)
- Maven系列1--settings.xml 配置详解
- Director
- __getattr__,__setattr__,__delattr__与__getattribute__
- Maven系列2--pom.xml 配置详解
- PopWindow 遇到的坑
- Maven系列3--Maven命令行选项