select * from tn_md_mara_temp where id in ( )
-- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
select * from tn_md_mara_temp where id in ( '' )
select * from tn_md_mara_temp where id in ( NULL )
-- 都不会报错,返回一行空值
【mysql】select * from table where id in (‘‘) / (null) / ()区别
最新推荐文章于 2024-06-16 12:21:08 发布