0

誰かが簡単なSQLタグで私を助けてくれますか??

ここに私が欲しいものがあります:

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

適切なSQL形式にする方法は?

4

3 に答える 3

5

試す:

Select * 
from table1 
where transid=(select transid from table2 where date='01/02/2003')
于 2012-11-23T23:19:55.360 に答える
5
Select * from table1
  where transid in 
    (select transid from table2 where date='01/02/2003')
于 2012-11-23T23:20:28.980 に答える