Just include the column(s) you want after select
instead of using *
(“all”):
select body from message where date between '2001-09-09 00:00:00' and '2001-09-10 00:00:00'
The column(s) you select and the column(s) by which you filter can be two entirely different sets of columns.
1
solved how to export specific column after query meets criteria?