开发者社区 问答 正文

下面这条语句在t_hdmap_margin_rid_map中数据比较少的时候 in (...) 可以成功返回,但是数据大的时候直接返回false, 不管是in还是not in都返回false,请问有什么办法可以解决吗?

select new_rid from mid.t_hdmap_margin_rid_map as t_hdmap_margin_rid_map
 where new_rid in (select new_rid from mid.t_hdmap_margin_rid_map as t_hdmap_margin_rid_map)

我的数据库版本信息是 PostgreSQL 9.6.10 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28), 64-bit

展开
收起
ImSoo 2018-10-19 18:29:56 3346 分享 版权
1 条回答
写回答
取消 提交回答