一直感觉需要用触发器进行判断
alter table TEST_123
add constraint TESDD
check (time1>time2);
这样增加一个约束,字段time1必须大于time2