Remember that the data in Genesys Cloud is non-structured and in a data lake, not a database. You access the data through the API or the UI. To get data out, most people use batch jobs on the API, but others run reports daily as CSV's and then use that to import into SQL. An alternative is to use EventBridge or Notifications to capture data in real time and write to your SQL database.
Avtex Insights on the AppFoundry uses the API method to create structured database in Azure that can then be accessed with SQL tools.
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
robertwc@avtex.comhttps://www.Avtex.comhttps://RobertWC.Blogspot.com------------------------------