Creating a notebook in Azure Databricks and querying data in multiple ways using SQL and…