2020-08-15 postgresql删除某个时间以前的记录

delete from tablename where createDate < (date '2020-08-15');


删除历史记录

你可能感兴趣的:(2020-08-15 postgresql删除某个时间以前的记录)