From the course: Databricks for Data Analysts
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Run your first Databricks SQL query - Databricks Tutorial
From the course: Databricks for Data Analysts
Run your first Databricks SQL query
All right, now how are we going to write our first SQL query? What we're going to do, we're going to go to the SQL section over here. We have a lot of things, but what do we need is the SQL editor. So let's go inside it. And then we are creating a new SQL query. So now we have here a lot of things. I'm going to guide you step by step. Now we're going to start with the left side. We have the catalog. So let's make sure that we are seeing our schema, the sales data. Inside it, we have the four tables. And with that, I have now an overview of the available tables. now on the right side in the middle here we're gonna write our SQL query like for example select star from and here we're gonna specify the schema name so sales data and we're gonna go for the orders for example so as you can see here i'm writing my sql query now if i go and execute it we're gonna get the result as a table so i can see now the rows and the columns so those are the main sections on this window i see the catalog…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.