select * from tableName as of timestamp
to_timestamp('2010-07-28 14:00:00','yyyy-mm-dd hh24:mi:ss') WHERE id= 121798;

 

使用说明:

 

tableName :表名

'2010-07-28 14:00:00':这个时间之前的记录

WHERE id= 121798 :搜索条件