Need to connect Postman with Database-Dbeaver

Currently i am retrieving data from Dbeaver database tool by querying and manually placing those data inside my collection variables. I want to automate it like retrieving data from Dbeaver and place it inside my collection variables .
I want to connect Postman to Database Dbeaver first and run the query fetch data and place it inside my collection. I need some help on it.