SqlEssentials-Learning Outline 2
SqlEssentials-Learning Outline 2
Page |1
Page |2
When manipulating data in a table, there are four operations: Create, Retrieve, Update, and
Delete. That is what CRUD stands and I will cover Create and Retrieve in part 1. Make sure
to pay particular attention to the Retrieve part because we have a number of lessons
coming up that build on these initial concepts.
Lesson #16 CRUD Part 2
In Part 2 of the CRUD lesson, I demonstrate how to Update and Delete records from a table.
I will also get into the Undo functionality in SQL. The undo functionality is called
Transactions. When talking to people about relational processes, transactions will often
come up, so you should make sure you understand the concept.
Lesson #17 Beginning Select Statements
In this lesson, I give you a quick introduction to the Select syntax and take you through
refreshing your training database so that you get the same answers that I do during the
upcoming lessons. You will want to get this refresh done so you can follow along in the
lessons.
Lesson #18 Where Clause Part 1
The Where Clause allows you to filter data that you retrieve from a table. This is the start
to mastering the retrieval of data from a database. We are starting slow, but we will keep
building until you can create complex objects.
Lesson #19 Where Clause Part 2
We continue with filters in this Part 2 of the Where Clause. I start to get more complex by
adding multiple filters which is how you will normally use the where clause in day to day
operations.
Lesson #20 Sorting
Sorting happens through the Order By clause in SQL. You will pick this up very quickly, so I
also give examples of using it with your newly learned Where clause/filtering skills. This is
the methodology we will use in all of the upcoming lessons, where we keep building on the
skills that you have already learned.
Lesson #21 Column List Part 1
So much can happen in the Column List of the Select Statement. The Column List defines
what you want to return in your Query. In Part 1, we talk about concatenation, aliasing,
conversions, and more. Make sure you are trying these queries as I show them to you. This
will help you cement these operations in your brain.
Lesson #22 Column List Part 2
In Part 2, I demonstrate the use of built in functions, aggregations, mathematical
operations, and more string manipulation. After you understand the basics of these
operators and how to use them, I will show you how to find more of them, and you will
become self-sufficient when working with built in functions and operators.
Lesson #23 Group By
Copyright Embark Blue Inc. 2012
Page |3
Grouping your results allows you to find totals by departments, or cities, or salesmen.
Grouping is a valuable tool to help you retrieve rolled up information to be further
analyzed in Excel, or Access, or any other tool. I show you how to use grouping in this
lesson.
Lesson #24 Having Clause
The Having Clause is used with the Group By clause to filter your results after you have
grouped them. This is valuable when validating your data doesnt have duplicates or you
just want to narrow down your results. In this lesson we continue building on the
knowledge from the previous video.
Lesson #25 Joining Part 1
Joining can take a while to digest, but it is a very important piece to the relational database.
Since our data is usually spread across multiple tables, you bring all of this data back
together through a table join. Take your time and watch this and the next lesson a couple
times to make sure you understand how to Join tables.
Lesson #26 Joining Part 2
In Part 2, I demonstrate an Outer Join and how it is different from the Inner Join in the last
lesson. It is important that you have kept up with the other videos to this point, because I
start bringing everything together toward the end of this video. After you are finished with
this lesson, you should be able to query most relational databases that you will face. You
will only need to combine the different techniques from the previous videos.
Page |4
In Part 2, we start using variables to store information so that we can use it later in the
script. This is an important part to programming and is quite different from the SQL we
have been using up until this point. Variables are the most important concept for you
moving into the next lessons where you will start creating Stored Procedures.
Lesson #31 Stored Procedures Part 1
In this lesson, I will introduce you to Stored Procedures which allow you to program inside
of the database. I wont get that deep into all of the features of SQL Server Stored
procedures, but after this lesson you will have basic knowledge and be able to
communicate with others about stored procedures.
Lesson #32 Stored Procedures Part 2
Now it is time to get a little more complex with the stored procedures by having more than
one statement, storing a result, then returning it. You will want to make sure you are
following along with your local SQL Server and practicing as you are watching the lesson.
This will help you with your understanding of stored procedures.
Lesson #33 Functions Part 1
Do you remember using the aggregate functions Sum, Avg, Min, and Max? Well, now you
will learn to create your own functions. They dont have to be too complex, but can be very
useful when regular SQL techniques dont quite give you what you want. In Part 1, we will
introduce the syntax to create a function and use some of our stored procedure and
scripting with variable knowledge to make learning Functions easier.
Page |5
Page |6