Booking options
£82.99
£82.99
On-Demand course
7 hours 52 minutes
All levels
In this comprehensive course, you will learn everything you need to know about SQL and Microsoft SQL Server, from the basic to advanced topics. With easy-to-follow lessons and hands-on exercises, you will gain the skills and confidence to work with databases like a pro. Perfect for beginners and anyone looking to expand their data management skills.
Are you interested in learning SQL and database management? Our comprehensive course offers an in-depth look at the fundamentals of databases, including database types, SQL commands, table operations, and advanced concepts such as grouping sets and data types. In the first few sections, you will learn about data manipulation, including selecting, inserting, updating, and deleting data from a database. The course then dives into more advanced topics such as stored procedures, which allow you to write reusable code that can be executed multiple times. You will also learn about views, which provide a way to organize and simplify complex SQL queries, and triggers, which enable you to automate database actions based on certain events. The course then delves into transactions, which are essential for ensuring data consistency and reliability. You will also learn about normalization, which is the process of organizing data in a database to reduce redundancy and improve efficiency. The final sections of the course cover database backup and restore, as well as securing the database against potential threats such as SQL injection attacks. Throughout the course, you will gain hands-on experience by working with real-world examples and scenarios. By the end of the course, you will have a strong foundation in SQL and database management that will serve you well in any career that involves data management.
Understand the fundamentals of database design and management
Learn to write SQL queries to extract and manipulate data
Implement advanced SQL techniques such as subqueries and views
Explore the different types of SQL triggers and transactions
Create database backups and restore data in case of loss
Secure your database against potential threats like SQL injections
This course is designed for anyone interested in learning SQL and database management, including beginners with little to no prior knowledge of SQL. It is suitable for individuals looking to gain skills for a career in data analysis, database administration, or software development. This course will also benefit professionals looking to enhance their current skill set with SQL knowledge. Students pursuing degrees in computer science, information technology, or related fields can also benefit from this course.
The course learning approach is practical and hands-on, with a focus on real-world scenarios and examples. You will have the chance to apply your knowledge through exercises, letting you gain valuable experience in using SQL and working with databases
Comprehensive coverage of SQL fundamentals in a self-paced format * Practical, hands-on exercises to reinforce learning * Interactive videos that explain complex topics in an easy-to-understand way
https://github.com/PacktPublishing/The-Complete-Dummies-Guide-for-SQL-with-Microsoft-SQL-Server
Abhilash Nelson is a pioneering, talented, and security-oriented Android/iOS mobile and PHP/Python web application developer with more than eight years of IT experience involving designing, implementing, integrating, testing, and supporting impactful web and mobile applications. He has a master's degree in computer science and engineering and has PHP/Python programming experience, which is an added advantage for server-based Android and iOS client applications. Abhilash is currently a senior solution architect managing projects from start to finish to ensure high quality and innovative and functional design.
1. Course Introduction and Table of Contents
In this section, we will be introduced to the course and the topics covered in each section, giving us a comprehensive overview of what to expect from this course.
1. Welcome to the Course In this video, we will get a brief introduction to the course and an overview of the topics covered in each section. |
2. Database and Database Management Systems
In this section, you will learn about the basics of databases and database management systems.
1. Introduction to Database and Database Management Systems In this video, we will be introduced to the concept of databases and database management systems. You will learn what a database is, the advantages and disadvantages of using a database management system, and the basics of how they work. |
3. RDBMS and NonRDBMS
In this section, you will learn about two different types of databases-relational database management systems (RDBMS) and non-relational database management systems.
1. Introduction to RDBMS and NonRDBMS In this video, you will learn about RDBMS and non-RDBMS, their differences, and the advantages and disadvantages of each type, with the help of an example. |
4. SQL Commands
In this section, you will learn about different types of SQL commands.
1. Different Types of SQL Commands In this video, you will learn about the different types of SQL commands, such as Data Manipulation Language (DML), Data Definition Language (DDL), Data Control Language (DCL), Transaction Control Language (TCL), and their uses in performing various operations on a database. |
5. Installing Microsoft SQL Server
In this section, you will learn how to install and set up Microsoft SQL Server on your computer for efficient database management.
1. Step-by-Step Guide to Installing MS SQL In this video, we will cover the basics of Microsoft SQL Server and provide a comprehensive guide to installing it on our system. |
6. Basic Database Operations
In this section, you will learn how to create, modify, and manage a database using SQL commands.
1. Types of Databases in SQL Server and Basic Operations In this video, we will discuss the different types of databases in SQL Server, followed by a demonstration of how to create and select data from a database using the CREATE and SELECT commands. |
2. Essential Database Operations In this video, we will explore some of the essential SQL commands required for managing a database, such as the USE, BACKUP DATABASE, RESTORE DATABASE, and DROP DATABASE commands. |
7. Fundamental Table Operations
In this section, we will gain an understanding of the fundamental operations that can be performed on a table in SQL. You will learn how to create tables, insert data, and modify their structures.
1. SQL Data Types, Constraints, and Keys In this video, you will learn about SQL data types and constraints, and understand the differences between primary and foreign keys. |
2. Creating and Deleting Tables in SQL In this video, you will learn how to create and delete tables in the database. |
3. Altering Tables and Viewing Table Schemas in SQL In this video, we will discover how to modify table structures in the database and view table schemas using the DESCRIBE command. |
4. Data Manipulation and Table Management in SQL In this final video of the section, you will learn how to insert, select, fetch, update, and delete rows from tables. Additionally, we will gain insight into how to drop tables and perform these same operations using a user interface. |
8. Importing Sample Databases
In this section, we will discover how to import a sample database into Microsoft SQL Server to practice our skills.
1. Importing the Northwind Database In this video, you will learn how to download and import the free Northwind sample database from Microsoft into SQL Server Management Studio. |
9. Using Aggregate Functions in MSSQL
In this section, you will learn how to utilize the essential aggregate functions in SQL Server, including MIN, MAX, SUM, AVG, and COUNT.
1. Introduction to Aggregate Functions in MSSQL In this video, we will gain an understanding of aggregate functions in SQL Server and discover how to use the MIN function with examples. |
2. Using MAX, SUM, AVG, and COUNT in MSSQL In this video, you will learn how to use the MAX, SUM, AVG, and COUNT functions with examples in SQL Server. |
10. Clauses in MSSQL
In this section, we will delve into the essential clauses in SQL Server that help filter, sort, and group data to get precise results.
1. Distinct and Group By Clauses In this video, we will cover the Distinct and Group By clauses, which help in filtering and grouping data based on specific columns. |
2. Where Clause and Operators In this video, we will explore the Where clause, which filters rows based on specified conditions. You will also learn about the different operators used with this clause. |
3. Order By, Having, and Select Clauses In this video, we will cover the Order By clause used to sort the data, the Having clause used to filter data based on an aggregate function, and the Select clause used to retrieve specific columns from a table. |
11. Grouping Sets Clause
In this section, you will learn about the GROUPING SETS Clause, which is a powerful tool for grouping data in SQL Server based on multiple columns.
1. Using the GROUPING SETS Clause in SQL Server In this video, you will learn how to use the GROUPING SETS Clause in SQL Server. We will also see an example of inserting data into the employeeMaster table. |
2. Selecting Data with the GROUPING SETS Clause and GROUP BY Clause In this video, you will learn how to select data from the employeeMaster table using the GROUPING SETS clause. We will also see an example of how to use the GROUP BY clause with GROUPING SETS to produce more complex queries. |
12. SQL Basic Operators
In this section, we will cover the basic operators used in MS SQL. These operators are used in most SQL servers.
1. Understanding Comparison and NULL Operators in SQL In this video, we will start by explaining what operators are in SQL. Then we will cover the comparison operators, including the IN, NOT, and BETWEEN Operators. Additionally, we will discuss the NULL and NOT operators. |
2. Using the LIKE and EXISTS Operators in SQL In this video, you will learn how to use the LIKE operator in SQL for wildcard searches. We will also cover the EXISTS operator in SQL. |
13. Union and Intersect Operators
In this section, you will learn about the Union and Intersect operators, which allow us to combine data from two tables into a single result set.
1. Union and Intersect Operators In this video, you will learn how to use the Union and Intersect operators in SQL Server. We will cover their syntax and usage with examples to help us understand how they work. |
14. Introduction to Popular Data Types
In this section, we will be introduced to the most used data types in SQL Server.
1. Exploring Exact Numeric Data Types in SQL Server In this video, we will cover the exact numeric data types including INT, BIGINT, SMALLINT, DECIMAL, and NUMERIC. We will explore their uses and differences to help us choose the right data type for our data. |
2. Understanding Character, Binary, Date, and Time Data Types in SQL Server In this video, we will cover the approximate numeric data types, date and time data types, character string data types, Unicode character string data types, binary string data types, and other data types commonly used in SQL Server. You will learn the uses and differences between each of these data types, helping us select the appropriate data type for our data. |
16. Mastering Primary Key Constraints in SQL
In this section, we will master primary key constraints in SQL, learning how to apply them to single and multi-column tables, and use them effectively in Table Design View.
1. Applying Primary Key Constraints In this video, we will discover the different SQL constraints and dive into primary key constraints. You will learn how to apply primary key constraints to your tables, including single and multi-column tables, and use them in Table Design View. |
2. Managing Primary Key Constraints In this video, you will learn how to manage primary key constraints using ALTER TABLE. You will learn how to enable, disable, and drop primary key constraints. |
17. Mastering Foreign Key Constraints in SQL
In this section, we will master foreign key constraints in SQL, learning how to create them using CREATE TABLE, and effectively manage them in your databases.
1. Creating Foreign Key Constraints In this video, we will get introduced to foreign key constraints and learn how to create them using CREATE TABLE. We will discover how foreign key constraints can be used to create relationships between tables. |
2. Managing Foreign Key Constraints In this video, you will learn how to create multiple foreign key constraints using CREATE TABLE, and how to enable, disable, and drop them. We will discover how to effectively manage your foreign key constraints in your databases. |
18. NOT NULL and UNIQUE Constraints
In this section, you will learn about the NOT NULL and UNIQUE constraints in SQL and how to use them effectively.
1. Using the NOT NULL Constraint In this video, we will discover how to create and modify tables using the NOT NULL constraint. You will also learn how to drop the NOT NULL constraint when needed. |
2. Understanding the UNIQUE Constraint In this video, we will explore the UNIQUE constraint and learn how to apply it to your tables in SQL. You will also learn how to alter and drop the UNIQUE constraint. |
21. SQL String Functions
In this section, we will explore popular SQL string functions that are commonly used for string manipulation and management.
1. SQL Popular String Functions - Part 1 In this video, we will introduce SQL server string functions, and dive into popular functions such as ASCII, CHARINDEX, CONCAT, SOUNDEX(), DIFFERENCE, LEFT(), and RIGHT(). |
2. SQL Popular String Functions - Part 2 In this video, we will continue our exploration of popular SQL string functions, including LOWER(), UPPER(), LTRIM(), RTRIM(), and REPLICATE(). By the end of this section, you will be proficient in using these powerful functions to manipulate and manage string data. |
22. SQL Popular Date Functions
In this section, you will learn about SQL date and time functions that are commonly used in SQL queries. These functions allow you to manipulate dates and times to perform various operations and calculations.
1. Understanding SQL Server Date Time Functions In this video, you will gain an understanding of SQL Server date time functions and their importance. You will also learn how to use the functions CURRENT_TIMESTAMP, GETDATE, and GETUTCDATE to retrieve the current date and time. |
2. Using Date and Time Functions in SQL In this video, you will learn how to use DATENAME, DATEPART, YEAR, MONTH, DAY, and DATEDIFF to manipulate and extract specific parts of dates and times. These functions are essential when performing calculations or when working with dates in a specific format. |
23. SQL Popular Mathematical Functions
Learn about SQL's mathematical functions and how they can be used to perform various mathematical operations on data.
1. Math Made Easy: SQL Popular Mathematical Functions In this video, discover how to use SQRT, ABS, CEILING, FLOOR, RAND, POWER, LOG, and SIGN in SQL with real-world examples. |
24. SQL Popular Convert Functions
Explore SQL's conversion functions and learn how to convert data types effectively.
1. SQL Magic: Popular Convert Functions In this video, learn the ins and outs of CONVERT() and CAST() functions in SQL with practical examples. |
25. Joins - Introduction and Table Preparation
In this section, we will cover one of the most important operations in SQL-Joins. We will get introduced to the different types of joins available in SQL
1. Introduction to Joins and Join Types In this video, we will start by introducing the SQL Server JOIN clause, and then dive into the different types of joins available in SQL Server. |
2. Table Preparation - Creating the Trainee Table In this video, we will create the necessary tables on which we will perform different join operations. We will start by creating the "Trainee" table and adding some dummy data to it. |
3. Table Preparation - Creating the Fee and Semester Tables In this video, we will create two more tables, "Fee" and "Semester", and add some dummy data to them. This will complete our data preparation before we start performing join operations in the upcoming sections. |
26. Inner Join
In this section, we will dive into the inner join operation in SQL. We will explore how to join two or more tables using the INNER JOIN clause and see how it can help us retrieve data from multiple tables.
1. Exploring Inner Join In this video, we will take a closer look at the inner join operation in SQL Server. We will cover how it works and its syntax, and we will use our sample tables to demonstrate its functionality. |
27. Outer Join
In this section, we will explore the outer join operation in SQL, including its different types such as Left Join, Right Join, and Full Join. We will see how we can use them to combine data from multiple tables.
1. Mastering Outer Joins In this video, we will dive deep into the world of outer joins in SQL Server. We will cover the Left Join, Right Join, and Full Join operations, and use our sample tables to illustrate how they work. |
28. Self Join
In this section, you will learn about Self Join, which is a special type of join where a table is joined to itself. We will see how we can use it to retrieve data from a single table that has a self-referencing relationship.
1. Exploring Self Join In this video, we will explore the concept of Self Join in SQL Server. You will learn how it works and how to use it to retrieve data from a single table. We will also see an example of how it can be used to solve a common data retrieval problem. |
29. Cross Join
In this section, you will learn about the Cross Join operation in SQL, which produces a result set that is the product of two or more tables. We will see how we can use it to retrieve data that combines every row from one table with every row from another table.
1. Mastering Cross Joins In this video, we will cover the Cross Join operation in SQL Server. We will see how it works and how it can be used to retrieve data from multiple tables. We will also demonstrate its usage with our sample tables. |
30. Stored Procedure Basics
In this section, we will dive into the world of stored procedures, which is an important concept in database management. You will learn about the basic concepts and features of stored procedures and how they can be used to simplify database programming.
1. Features and Benefits of Stored Procedures In this video, we will explore the key features and benefits of stored procedures. We will discuss how they can be used to improve database performance, security, and maintainability. |
2. Creating and Executing Our First Stored Procedure In this video, you will learn how to create and execute a simple stored procedure. We will cover the basic syntax and structure of a stored procedure and demonstrate how to use it in a practical scenario. |
31. Stored Procedure Parameters and Return
In this section, we will cover how to pass parameters to a stored procedure and return results from it.
1. Stored Procedure Input and Return Parameters In this video, you will learn about the different types of input and return parameters in stored procedures, and how to use them effectively in your SQL queries. |
32. SQL Subqueries
In this section, we will explore the concept of SQL subqueries, which allow us to retrieve data from one table based on the results of another query.
1. Writing SQL Subqueries In this video, we will dive deeper into the world of SQL subqueries, learning different ways to write and use subqueries in our SQL statements. |
33. SQL Views
In this section, we will cover SQL Server Views, a database object that acts as a virtual table based on the result-set of an SQL statement.
1. Introduction to SQL Views In this video, we will introduce SQL Views, discuss their benefits, and learn how to create and use them in SQL Server. |
34. SQL Triggers - DDL Triggers
In this section, we will cover SQL Server Triggers, a special kind of stored procedure that executes automatically in response to certain events or actions in a database.
1. SQL Triggers - DDL Triggers In this video, we will dive into different types of SQL Triggers, including DDL Triggers, and learn how to create and delete them in SQL Server. We will also discuss their usage and limitations. |
35. SQL Triggers - DML Trigger
In this section, we will cover DML trigger and how it can be used to automate value insertion.
1. SQL Triggers DML Trigger - Introduction and AFTER Trigger In this video, we will introduce DML triggers and focus on AFTER triggers. You will learn how to create and delete a trigger and explore the concept of automatic value insertion. |
2. SQL Triggers DML Trigger - INSTEAD OF Trigger and Examples In this video, we will cover INSTEAD OF triggers and use an example to demonstrate their functionality. You will also learn how to delete a trigger and explore the concept of nested triggers. |
36. SQL Transactions
In this section, we will cover SQL Server transactions and how they can be used to ensure data consistency.
1. SQL Transactions - Introduction and States In this video, we will introduce SQL Server transactions and discuss the different transaction states. We will also explore the concept of nested transactions and use a bank ATM scenario as an example. |
2. SQL Transactions - COMMIT and ROLLBACK Operations In this video, we will cover the COMMIT and ROLLBACK operations in SQL transactions. We will continue with the bank ATM scenario and demonstrate how to manually roll back a transaction. |
37. Normalization
In this section, we will cover the concept of database normalization and its different forms.
1. Introduction to Normalization In this video, we will explore the concept of database normalization, its importance, and how it helps eliminate redundancy in data. Then, we will discuss the different Normal Forms-1NF, 2NF, 3NF, BCNF, 4NF, 5NF, and 6NF. |
38. Database Backup and Restore
In this section, we will cover the process of backing up and restoring a database.
1. Backup and Restore Database In this video, we will cover the different methods of creating a copy of a table using SELECT INTO and INSERT INTO. Then, you will learn how to create a database backup and restore it using SQL Server Management Studio. |
39. Database Security
In this section, we will cover the topic of database security and how to secure your database.
1. Securing Your Database In this video, we will start by understanding the importance of vulnerability assessment for our database. Then, we will explore how to implement recommended fixes and how to protect our database from SQL injection attacks with some practical demos. |