The Complete Dummies Guide for SQL with Microsoft SQL Server

Beginner to Advanced Guide to Learn SQL with Microsoft SQL Server. Covering All Basics to Advanced with Examples

Description

Hello and welcome to my new course ‘The Complete Dummies Guide to Microsoft SQL Server’.

You already know that in this information technology age ‘data’ is everything. And a Database is the place where this information is stored in tables. There are two types of database. A structured database and also there is an unstructured or no-sql kind of database. We will see the SQL or the Structured Query kind of database. And the most popular one among the SQL databases is the Microsoft SQL Server.

Here is an overview about the sessions that are included in this course.

In the first session, we will have an introduction to databases. Then we will see the concepts of SQL or Structured Query Language which is used in RDBMS.

Then we will see different types of SQL commands. Then the database objects And in the next session, we will move on to the basics of MSSQL server. We will see how we can install the free version or the express edition of Microsoft SQL server into your computer and then we will download the Microsoft SQL Server Management Studio, which is a tool and an interface. And later we will connect SQL Server Management Studio with our MSSQL Server process that is running in the background.

And then we will proceed with the basic SQL database operation. We will create a database, we will list the database in the server, then we can select a database using the USE command and finally we will try demonstrating deleting a database using the DROP command. There is also an option to take a backup of the database.

And then we will move on with SQL basic table operations. We will have an overview of data types of SQL. Then we will have an overview of different SQL constraints and the difference between a primary key and foreign key. And finally we will start creating a table in our database. We will create it, we will try to delete it. We will try to alter it. And then we will move on to describing the table schema and inserting data into the table. Deleting data from the table, modifying data, then.. fetching the data all these basic table operations will be dealt with in this session.

And then we will go ahead and import a sample database. It’s a free sample database called the Northwind Traders database from Microsoft. We will download it and we will import that into our SQL server. Later we will proceed with basic aggregate functions of SQL. We will see what is an aggregate function and then we will proceed with each and every aggregate function.

And then we will proceed with the basic clauses of SQL. We will see what is a clause and different

clauses. The first, Distinct clause, Group-by, Where clause, then Order-by, Having clause, Select and Grouping-sets. We will also have different examples for each and every clause that we learn. Then we will proceed with the basic operators of SQL server. The basic operators include Comparison operators Union operator, Intersect, In operator, Not, Between, Is Null, Not Null. Then we have the Like, Exists operator. We will try different examples.

Then we will have an elaborate session with the SQL server data-types. The popular ones. Then we will have a detailed session regarding the constraints in SQL server. The constraints include Primary key, then Foreign key, Check then Unique then Default, Not Null constraints. The relationship between these tables and its columns are defined using a standard notation called the ER or Entity Relationship diagram. We will see what is an Entity, then we will see what is an Attribute and also what is the relationship in the ER diagram.

And then we will proceed with the popular string functions or string manipulation functions in SQL server. These functions we can use to process a string inside our SQL server. We will also have an overview about the popular SQL Date and Time functions which are used to manipulate date and time data inside SQL server. And then we will proceed with the popular SQL mathematical operations. And also examples to demonstrate all these functions and then we will proceed with the SQL conversion functions which are used to perform data conversion inside SQL. We will try examples for these functions.

And then we will move on to an important topic called SQL Joins. This join clause in SQL will enable us to connect between different tables which are linked by some common key. The popular ones are Inner join, Outer join, then Cross Join and Self Join We will see detailed examples, demonstrations for each of these joins and then we will proceed with Stored Procedures in SQL server. A block of re-usable SQL statements that are stored in the Server.

We will see an overview about the stored procedure. Then we will see how we can create a stored procedure. Then execute then how we modify, delete the stored procedure and also we will see how we can pass input parameters into. Return the processed parameters from the stored procedure.

And then we will see what is a sub-query inside SQL server. We will see an overview of sub-query. We will try different examples of how we can create a sub-query. And then we will proceed with Views in SQL server. We will see an overview about the views in SQL. Then, how we can create a view. We will try an example and how we can call the already created view. And then we will move on with SQL server triggers. Different types of SQL triggers. DDL trigger, the DML trigger, the two types of DML triggers. We will try them with examples.

And then we will see what is a transaction in SQL server. We will have two states of transactions. We will explain it with the help of a bank ATM scenario and we will try examples of committing a transaction. Rolling back the transaction, the SQL transaction in case of an error. And then we will proceed with normalization of the table which is used to keep everything in order inside the database. We will see what normalization is in DBMS. We will see different types of normalization. Then we will be proceeding with the backup and restore of the database. We will see how we can backup a database. Save that into our computer and then later we can use that backup to restore that database.

And in the final session, we will be discussing how we can secure a database. We will use an inbuilt tool to access the different security risks and the preventive measures that we can take. The steps that we can follow to fix those security risks and finally about the SQL injection technique which hackers use. We will see a few demonstrations how a hacker can include an SQL injection statement into our SQL server and get the data he wants.

And that’s all about the topics which are currently included in this quick course. The sample database and the materials have been uploaded and shared in a folder. I will include the link to download them in the last session or the resource section of this course. You are free to use that with no questions asked.

Also, after completing this course, you will be provided with a course completion certificate which will add value to your portfolio.

So that’s all for now. See you soon in my classroom.

Happy Learning !!

Who this course is for:

  • Beginner who wants to learn the basics and advanced level of MSSQL Database

Tutorial Bar
Logo