PLease, please never query the vCenter database directly, but use the officially supported API interfaces to vCenter to query data like this.
For an easy example on how to query the VMs' notes field with PowerCLI see e.g. this post:
Backup and Restore the Notes Field in VMware | HiperLogic
- Andreas