From the course: Azure Data Studio Essential Training
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Write SQL queries - Data Studio Tutorial
From the course: Azure Data Studio Essential Training
Write SQL queries
- [Instructor] One of the most common tasks that you'll need to do with any data table is review the data that it stores. You can do that by writing a select query, and Azure Data Studio has a way to get you started with a new query built right into the right click context menu. Let's take a look at the Kineteco database that's on the SQL server instance. We can expand the database, and then we can expand the tables folder. And we'll see that this database only includes a single table called dbo.department. Expanding the table will reveal its contents. Here, we can see that this table is made up of three columns. We have their column names, their data types, and any other constraints on each of those columns. We can also see if it has any keys. And this one does. It has a primary key on the department ID column. We can also see if it has any constraints, triggers, indexes, or statistics by expanding each of those…
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.
Contents
-
-
-
-
-
Load and execute SQL scripts4m 32s
-
(Locked)
Write SQL queries6m 42s
-
(Locked)
Create tables with the visual editor6m 11s
-
(Locked)
Edit tabular data4m 2s
-
(Locked)
Generate scripts to create and drop tables2m 27s
-
(Locked)
Output results to external files2m 37s
-
(Locked)
View results as a chart6m 1s
-
(Locked)
Quick scripts with code snippets3m 59s
-
(Locked)
Create custom snippets8m 12s
-
-
-
-
-
-