Query projection on field

What is the right function to project results only on a field and on timestamp?
I’m using flux language

Hello @hakzc,
Welcome! Can you please give an example of what you’re trying to do more specifically?

Hello @Anaisdg
I mean like in SQL database.
I want to return only a specific field and the timestamp not the entiere row (point)
For example…
timestamp, temperature, current
I want to return only temperature and timestamp columns

Hello @hakzc,
You can drop the rest of the columns if you want with either the
drop()
or
keep().
Or alternatively you can return just a value with:
getRecord()
Does that help?