Hi Shambhu Rai,
Thank you for posting query in Microsoft Q&A Platform.
If I understand correctly, you want to execute Spark SQL statements in Databricks using REST API. Please correct me if I am wrong.
You can do this by make rest api call. Please check below link for official rest api documentation for same. https://docs.databricks.com/en/sql/admin/sql-execution-tutorial.html
Hope this helps. Please let me know if any further queries.
Please consider hitting Accept Answer
button. Accepted answers help community as well.