gpt4 book ai didi

mysql : select one id from multiple id which have multiple value

转载 作者:太空宇宙 更新时间:2023-11-03 12:19:15 29 4
gpt4 key购买 nike

<分区>

+------+---------+
| id | object |
+------+---------+
| 1 | 1 |
| 1 | 2 |
| 1 | 3 |
| 2 | 1 |
| 2 | 3 |
| 2 | 4 |
| 3 | 5 |
| 3 | 3 |
| 3 | 4 |
+------+---------+

我想选择具有对象 1,2,3 的 id 但结果只是 id = 1,如果没有对象 1,2,3 则忽略另一个 id。忽略只有对象 1 和 3 的 id 2,并忽略只有对象 3 的 id 3。

多谢高手帮助

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com