Introduction to SQL
Premium video tutorials
Learn at your own pace
Mobile (learn on-the-go)
Unlimited tests and quizzes
Regularly updated content
SQL is the world's most widely used programming language for database management, an essential skill for back-end web development and data analytics. Designed for beginners, this course will give you the foundation you need to get started with Structured Query Language in Microsoft SQL Server, through hands-on application and examples.
By the end of the course you will have a practical understanding of how to set up and connect to a server, create databases and tables, insert and update data, and create and filter queries to get the valuable insights you need.
In this course we are using Microsoft SQL Server's T-SQL, but you will be able to apply most of what you learn to many other databases such as MySQL, PostgreSQL, Oracle and more.
- 33 practical tutorials.
- Understand the structure of databases with RDBMS concepts.
- How to set up Microsoft SQL Server and SQL Management Studio.
- Create a new database and add data to tables.
- Back up and restore your database to protect your data.
- Use a SELECT statement to retrieve data.
- Filter records with WHERE, AND, OR clauses.
- Arrange results with ORDER BY and GROUP BY clauses.
- Search within aggregate groups with HAVING clause.
- Calculate data with Count, Average, and Sum functions.
- Update and remove data with UPDATE and DELETE statements.
- Combine and join tables with JOIN clauses.
- Other SQL concepts such as subqueries, indexing and primary key.
Once enrolled, our friendly support team and tutors are here to help with any course related inquiries.
Estimated study time
16h 30m for all materials
Intro to Databases & SQL
What is a database?
We will discuss what a database is, the different types of databases and what they are used for
An Overview of SQLWe will discuss what SQL(Structured Query Language) is, what it is used for and some of the different systems that use SQL
RDBMS ConceptsWe will look at the core concepts and structure of a relational database such as tables, columns, rows, etc
Working With Data TypesWe will discuss some of the important data types that may be used in a relational database, including Integer, varchar, text and much more
Microsoft SQL 2016 Server & Management Studio Setup
Setting Up Microsoft SQL Server
We will install and setup Microsoft SQL Server 2016
Setting Up Microsoft SQL Server Management Studio
We will install and setup SQL Server Management Studio.
Connecting to a Server
We will connect to a server and look at the Object Explorer
System DatabasesWe will take a look at the master and model databases as well as the msdb and tempdb Databases
Creating a New Database
We will create a new database within MS SQL Server 2016, and create a new table
Adding Data to a Table
We will add data to our Table
Backing Up & Restoring a Database
You will learn how to backup a database and how to restore a backup
Selecting & Filtering Data 1
Simple SELECT StatementsHere we will start to write SQL statements and queries, starting with basic SELECT statements
WHERE ClauseWe can target specific columns using the WHERE clause along with a SELECT statement
AND & OR ClauseWe can select data based on multiple conditions using the AND & OR clause
ORDER BY Clause
We will look at how we can sort returned data using the ORDER BY clause
GROUP BY Clause
We will look at how we can sort returned data using the GROUP_BY clause
Selecting & Filtering Data 2
HAVING ClauseThe HAVING clause is similar to a WHERE clause but can use aggregation
TOP ClauseThe TOP clause is used to limit the number of records that will be returned from a SELECT statement
SELECT DISTINCTWe can use DISTINCT to only return distinct or different values in a SELECT statement
UNIONThe UNION operator is used to combine the result-set of two or more SELECT statements
FunctionsWe will look at some built in functions for performing calculations on data
Inserting, Updating & Deleting Data
INSERT StatementWe will insert our own records into a database using INSERT INTO
UPDATE StatementThe UPDATE statement can be used to change data that already exists in the SQL database
DELETE StatementWe can use DELETE FROM to remove data from the SQL database
ALTER TABLEWith ALTER TABLE, we can add, remove or change columns, data types and just about anything else
Combining & Joining Multiple Tables
AliasesAliases can be used to temporary rename columns and tables
INNER JOINWe will discuss and write inner joins to combine more than one table in a specific way
OUTER JOINWe will discuss and write outer joins to combine more than one table in a specific way
LEFT JOINWe will discuss and write left joins to combine more than one table in a specific way
RIGHT JOINWe will discuss and write right joins to combine more than one table in a specific way
Other SQL Concepts
SubqueriesWe will discuss combining queries together in a subquery
IndexingWe will talk about what indexing is and how to do it within MS SQL Server
We will discuss the Primary Key and why it's so important