amount表中
id date time
1 2010-05-15 103947
total表中
id dateTime num
1 2010-05-15 08:00:00 1000
2 2010-05-15 10:39:00 889
3 2010-05-15 12:13:36 56
怎么样才能把amount表中的时间作为查询条件(date和time 组成时间格式进行查询)
sql> select * from total where total.date >'2010-05-15 10:39:47'这样格式的
(这里应该是amount表中的时间)