Query code function examples

Help much appreciated, as newbie to Wix.
Please may I see code examples for the following:-

  1. query a collection and return all found records - but I just want a specific field (ie Fld2 only not Fld1, Fld2, Fld3)

  2. how to use the result to populate a dropdown.

Thank yooo!

For doing a query on a dataset, then have a look at here.
https://www.wix.com/corvid/reference/wix-data.html#query

As for dropdowns, you can manually add your own dropdown list or connect it to a dataset field.
https://support.wix.com/en/article/adding-and-setting-up-a-dropdown-list
Or you can use code for it yourself.
https://www.wix.com/corvid/reference/$w.Dropdown.html

Plus, you can look at already made up Wix examples for searching things.
https://www.wix.com/corvid/example/search
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-saved-search

You can also use setFilter to filter your dataset to begin with.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#setFilter

Many thanks, but I have already studied all of those links - but the bit I can’t get my head around is the syntax for parsing the Result Item. I can output the Item to console log, and it shows the whole record from the Collection - but I just want to extract 1 field of data from that record.
How do I parse the Item object for the one field?
Sorry to be so thick, but newbie to js … Lol!