这个查询怎么写?
这个查询怎么写?表aid inID out ID
1 1 null
2 2 1
表a_D
id inNum inID
1 I0001 1
2 I0002 2
表b
id OutID
1 1
表b_D
id OutNum OutID
1 O0001 1
我要得到的是
InNum OutNum
I0001 null
I0001 O0001
2007-11-24 09:56

2007-11-24 10:08

2007-11-24 10:20
2007-11-24 10:23
2007-11-24 10:25
2007-11-24 10:33

2007-11-24 10:55
2007-11-24 10:55
2007-11-24 10:56

2007-11-24 11:51