How to update my Retool database from a HubSpot query?

Yes and you can use a WITH clause... Check out this post: