gpt4 book ai didi

mysql - 简单的 SQL 格式

转载 作者:行者123 更新时间:2023-11-30 23:55:23 25 4
gpt4 key购买 nike

谁能帮我写一个简单的 sql 标签??

这是我想要的:

Select * from table1 where transid='select transid from table2 where date='01/02/2003''

如何以正确的 sql 格式获取它?

最佳答案

尝试:

Select * 
from table1
where transid=(select transid from table2 where date='01/02/2003')

关于mysql - 简单的 SQL 格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13536776/

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