This folder contains scripts to create and load the Northwind and pubs sample databases.
SQL is a language used to retrieve and manipulate data in a RDMS. SQL stands for Structured Query Language. This tutorial uses a database which is a modernized version of Microsoft's Northwind database. Northwind is a. Northwind Database SQL Queries Display all columns and all rows from the Employees table. Display the regionid, regiondescription for all rows in the Regions.
These scripts were originally created for SQL Server 2000.
Before you begin
To run this sample, you need a tool that can run Transact-SQL scripts. You can run the scripts in the following tools:
- SQL Server Management Studio (SSMS). To download SSMS, go to Download SQL Server Management Studio (SSMS).
- SQL Server Data Tools (SSDT) or Visual Studio. To download SSDT, or to enable its features in Visual Studio, go to Download and install SQL Server Data Tools (SSDT) for Visual Studio.
Run the scripts in SSMS
- Open SSMS.
- Connect to the target SQL Server.
- Open the script in a new query window.
- Run the script.
Run the scripts in SSDT or Visual Studio
- Open SSDT or Visual Studio.
- Open the SQL Server Object Explorer.
- Connect to the target SQL Server.
- Open the script in a new query window.
- Run the script.
Related links
The best way to build up your skills in any area is by practice. This course is a hands-on practical learn by doing course.
SQL ( SQL -Structural Query language ) is one of the most popular and sort after skills in the IT industry. SQL Skills is so important especially with big data and data dependent businesses and applications from Facebook to our local banks.
This course was designed with the beginner in mind. The course starts by walking you through how to setup a lab where you will download and install Microsoft SQL Server and the sample Northwind database.
In this course we will solve 27 business related problem questions by building SQL queries to interrogate the database and produce the answers to solving the business problems.
We will use the following while building our queries to solve the business problems :
Retrieve data with SELECT
Use Aliases
Use Case Expressions
Eliminate duplicates
Filter data with equality filters
Filter data with basic comparisons
Filter data with string comparisons
Filter data with logical comparisons
Filter data with NULL comparisons
Use order by clause
Sort data by ascending and descending order
Use Table joins to extract data from multiple tables
Use UNION operator to combine results of two or more SELECT Statements
Aggregate functions to compute a single output value
GROUP BY Clause to group related data
Retrieve data with SELECT
Use Aliases
Use Case Expressions
Eliminate duplicates
Filter data with equality filters
Filter data with basic comparisons
Filter data with string comparisons
Filter data with logical comparisons
Filter data with NULL comparisons
Use order by clause
Sort data by ascending and descending order
Use Table joins to extract data from multiple tables
Use UNION operator to combine results of two or more SELECT Statements
Aggregate functions to compute a single output value
GROUP BY Clause to group related data
By the end of this course you will be would have gained enough skills to interrogate Database.
- Beginner SQL Dvelopers
- Beginner Database Administrators -DBA
- Beginner Data Analyst
- Beginner Data Warehouse Professionals
- Beginner Data Scientist