select lasttime,cardid- interval '10' MINUTE from Testunion allselect lasttime,cardid+ interval '10' MINUTE from Test;结果:SQL>2011/05/01 11:53:29 1001 2011/05/01 11:56:29 1000
具体些