Setup for Introduction to SQL Training using SQL Server
Required Software
- Windows 10 or later.
- Microsoft SQL Server Express - Microsoft's free edition of their SQL Server RDBMS.
- One of the following SQL editors:
- Azure Studio (recommended)
- SQL Server Management Studio
Instructions
Creating the Webucator Folder
The first step to setting up for your course is to create the folder in which you will store your class files: Create a new folder named Webucator wherever you want, but make sure you remember where it is.
Getting the Class Files for Introduction to SQL
Download the Introduction to SQL class files and unzip them into the Webucator folder and rename the unzipped folder "SQL101".
Install Microsoft SQL Server Express
- Download Microsoft SQL Server Express from this page.
- Run the installer.
- Select the Basic installation and click through the installer.
- When the installation completes, close the installer.
Install Azure Studio
While you can use SQL Server Management Studio, we recommend using Azure Studio, which is lighter and easier to work with.
- Download the x64 Windows User installer of Microsoft Azure Studio from this page. You may need to scroll down to see the installer:
- Run the installer, selecting the Basic type and then accepting all the defaults.
- When the installer completes, check Launch Azure Data Studio and click Finish.
- Create a new connection:
- Within the Connection dialog panel, choose your SQL Express installation, typically named localhost, and click the Connect button:
Install the Northwind Database Used in Class
- In Azure Studio, select File > Open Folder...
- Navigate to your SQL101 folder and open it.
- On the left bar, click the Explorer icon (looks like two sheets of paper) and then open setup\Northwind-SQLServer.sql:
- Click the Run button:
- On the left bar, click the database icon and expand the Northwind database to see the tables it contains:
- Right-click the Northwind database and select New Query:
- In the file that opens up, enter:
SELECT * FROM Employees
- Run the file by clicking the Run button or by pressing the F5 key. You should get a result set like the one below:
Congratulations. You are all set for your course.
Courses and Class Files
This setup page is used for the following course: