返回顶部

03 2024 档案

sql中的exist和in查询记录
摘要:一、示例 对于两个表A、B,以id作为两表的关联条件作查询,三条sql语句 1、select * from A where id in (select id from B) 使用in 2、select * from A where exists(select B.id from B where B. 阅读全文

posted @ 2024-03-11 23:01 weilanhanf 阅读(544) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示