I want to move my energy measurement data to another InfluxDB database on the same server to create a new downsampling policy.
select * into Verhaeg_Energy..[measurement_name_destination] from Verhaeg_IoT..[measurement_name_source] group by *
Be aware of the .. in between the database name and the measurement name.