szymon_dybczak
Esteemed Contributor III

Hi @SowmyaDesai ,

For this use case it's much better to use statement execution API which gives you ability to run SQL statement and fetch the results:

https://docs.databricks.com/api/workspace/statementexecution