我有两张桌子:
订金
accountNumber balance addDate
0000102 5000 21/01/2013
0000105 5500 21/01/2013
0010024 9800 21/01/2013
0000102 2500 22/01/2013
0000105 9000 22/01/2013
....... .... ../../.... //rest of the records
退出
accountNumber balance addDate
0000102 2500 20/01/2013
0010024 5000 20/01/2013
0000105 1500 20/01/2013
....... .... ../../.... //rest of the records
现在,我需要将这两个表的结果显示为:
细节
date withdrawal deposite
20/01/2013 2500
21/01/2013 5000
22/01/2013 2500
对于特定的accountNumber
=0000102
和order by
addDate
.
我是数据库的新手。