Node Red Integration

I am using MQTT integration in Node Red with Influxdb.
I am have Influxdb database and unable to find the right query for the same.

It is throwing error :“influxdb.errors.noquery”

Please help