CREATE TABLE tabla_export AS SELECT * FROM tabla WHERE date(datum) BETWEEN date('2019-12-30') AND date('2020-03-15');