
Discover the SQL Server 2022 masterclass structure covering transact-sql queries from simple selects to joins and partitions, administration topics like backups and security, and performance tuning with indexes.
Subtitles are activated by default on YouTube; deactivate them by clicking here. I added subtitles to better support you and ensure clear training.
Install SQL Server Developer Edition and SQL Server Management Studio, two free tools attached to this course, to install the database engine and manage databases, perform queries, and create tables.
install SQL Server on a Windows 10 workstation, configuring a default instance, selecting drive space, accepting terms, setting administrator credentials, and basic server configuration for a smooth setup.
Install management studio on your workstation, launch it, and connect to the server. Learn how to handle management studio during setup and start managing the server.
Connect to SQL Server using Management Studio, explore the Object Explorer, create a database, and write a new query to run and test your results.
Begin the first chapter of Transact SQL by exploring transaction history, creating a database table, and performing select, update, and join operations, with aggregation versus average and partition by insights.
Defines a database as a system that stores and retrieves data, centralizes scattered files into one repository, and makes querying easier on a server instance.
Discover two graphical ways to create a database in SQL Server: connect via the interface, and create a database by writing and executing a create database script.
Learn to rename and delete a database in SQL Server 2022, including executing rename commands, applying permissions, and using graphical options to modify database names.
Engage in a database exercise, tackle questions about naming an event and the steps involved, and receive guidance and well wishes after completing the exercise.
Learn to create, rename, modify, move, and drop a database in SQL Server 2022 by executing queries and refreshing the exercise database.
Understand how a table in a database uses rows and columns to store data. Learn the simple create table syntax to define a table and its columns.
Explore how to create a table in SQL Server 2022 by selecting a database with use and executing a proper create table statement.
Explore how to modify and delete a table in SQL Server 2022, including renaming a table, executing commands, and using right-click actions and refresh in a database.
Practice exercise on creating a simple table with specified columns and a date column, then write queries to populate and complete the table as shown.
Explore the exercise correction with the provided solution, focusing on SQL table creation, syntax details, and end-to-end steps from creating columns to dropping the table.
Learn to insert data into a database using insert and insert into syntax, including values, single and multiple row examples, and executing queries.
Learn how to use the select statement to retrieve data from a table, choosing all columns or specific fields, and apply basic filtering with where to refine results.
Execute the update statement to modify data, apply the where clause to target specific rows, and avoid updating all records in SQL Server 2022.
Observe a hands-on demonstration of the delete statement in SQL Server 2022, including deleting from a table and filtering with a where clause to avoid data loss.
Demonstrates updating two columns at once in SQL Server 2022, showing how to set multiple fields with a comma in a single update, using first name and nickname as examples.
Demonstrates using comments and square brackets to manage SQL identifiers with spaces, test changes in VS Code, and safely create or drop objects while avoiding syntax errors and security concerns.
Learn to insert identical values multiple times in SQL Server 2022 with a single insert into values statement and a repeated transaction loop.
Engage with exercise 1 to complete a hands-on task that creates names and numeric inputs, with a suggestion to complete two hours of exercise before answering questions.
Within the SQL Server 2022 masterclass, exercise 2 applies a five-value rule to a debate using five sample entries with names and ages (18, 16, 17, 23, 22).
Engage in exercise 3 by selecting the stringent cold feet, and wish you good luck as you practice.
Engage in a daily exercise, exercise 4, that explores the concept of age in a kingly context described as two twenty four.
Fifty five did it for the table to just name most with ok; it's the last question.
Perform a correction exercise on student data, updating name and first name fields, and refresh the table to verify corrected entries.
Practice demonstrates inserting five rows into a student table, preserving the correct order for fields such as first name Quidam and age to ensure accurate data placement.
Practice selecting a student by first name and filtering data with where clauses in correction exercise 3, with examples like Veracruz and Clint Eastwood.
Engage IT students and analyze digital-age data through correction exercise 4, exploring how age and data influence learning outcomes within the SQL Server 2022 masterclass.
Practice correction exercise 5 by executing a sample query, exploring how a first name like Bruce is handled in the SQL Server 2022 masterclass.
Focus on previous sessions by reinforcing how to work with a database: inserting, selecting, and filtering data, and using transactions, distinct, select into, and order by to improve queries.
Explore how to create column aliases in SQL Server 2022 using the as clause, with practical examples like renaming a name to nickname.
Demonstrates using the SQL Server 2022 like operator to filter contact names with wildcards, match substrings, and refine searches with patterns placed before or after characters.
Explore using top to fetch the first lines or first five rows in SQL Server 2022, with practical examples from sample data.
Learn how to remove duplicates using the distinct keyword in SQL Server 2022, with a practical demo showing how to select unique rows from a dataset.
Explore and practice sql comparison operators such as =, !=, <, <=, >, and >= through demos that filter contacts by age, highlighting under 20 and 30-plus cases and counting results.
Explore the in, not in, is and is not operators in SQL Server 2022, and learn their syntax with practical where clauses using date of birth and name in expressions.
Use select into to copy an entire table or filtered data into a new table in SQL Server 2022, exploring full table copies, selective copies, and safety checks before changes.
Join exercise 6 in the sql server 2022 masterclass to answer 11 questions, learn through practice, and improve quickly, starting with removing duplicates at the end of the age credit.
Tackle exercise seven by selecting the date of birth, starting with 1976, and applying the date selection concept in SQL Server 2022 masterclass.
Engage with exercise 8 from the SQL Server 2022 masterclass, exploring the concept exercise et sidiq and the idea of people born on January 1st.
In exercise 9 of the SQL Server 2022 masterclass, practice selecting the first name for size nine.
Explore two different ways in exercise 10 of the sql server 2022 masterclass, reflecting the caption's note on size 10 and equal treatment.
Select evacuee people who are 17 years old and less to practice data filtering in SQL Server 2022.
Exercise 12 investigates age-based conditions, referencing individuals around ages 17 and 38, as part of the SQL Server 2022 masterclass.
Examine how exercise 13 DEC equals the first seven rows of the table, illustrating a basic data subset concept in SQL Server.
Exercise 14 in the SQL Server 2022 masterclass spins an abstract prompt featuring Silverline, Leonardo DiCaprio, and a vertebra colored contact Leonardo.
Explore two new date functions, year and month, and use the year function to select people not born in 1976.
Exercise 16 focuses on the movement function and explores how others think about it, within the sql server 2022 masterclass context.
Practice transactional sql concepts in sql server 2022 by correcting exercises 6 to 16, focusing on de-duplication with distinct, date of birth filtering, and age-based queries.
Explore Transact-SQL part 2 by demonstrating aggregate functions such as mean, max, and average, and how to sort and group data; end-of-section exercise validates your use case.
Explore how the and and or operators join conditions in sql queries, using examples like birth month August and age, and under 41, to show which rows return.
Learn to sort data in SQL Server 2022 using the order by clause, including ascending and descending orders, multiple columns, and sorting by numbers, names, dates, and characters.
Explore aggregate functions with min, max, and avg and apply them to numeric, date, and string data while sorting by age, date of birth, or name.
Explore how the COUNT and SUM aggregate functions work in SQL Server 2022, counting rows, handling nulls and different data types, and computing totals from examples.
Learn to select data ranges using the between operator in SQL Server 2022 masterclass. Explore inclusive ranges with examples like ages 16–30 and birth years 1976–1983, plus common syntax pitfalls.
Learn to group results with the group by clause in SQL Server 2022, counting by gender and birth year and applying proper aggregation rules.
Explore the specifics of the HAVING clause in SQL Server 2022, learning how to filter groups after a group by using aggregate functions and conditions such as greater than two.
Explore how to use print to output messages during large batch inserts, track progress, and manage batch sizes in SQL Server 2022 demonstrations.
Review data selection and aggregation using sum, average, min, and max, and practice joins, handling duplicates, and printing results from transacts.
Apply the section concepts in exercise 17, determine the exact size 17, and count the votes with a friend.
Exercise 18 counts the number of women born in 1980, delivering a concise data-focused task within the SQL Server 2022 masterclass course.
Count the number of women aged 20 to 45 and display the result ordered by age in descending order.
Explore exercise 20 in SQL Server 2022 masterclass, highlighting the goal with separate roles in the gender current.
practice inserting two lines with named individuals and ages, including marlon brando at 33 and a second entry at 26, reflecting basic data insertion rules.
Select people not between 20 and 27 years old using SQL Server 2022 techniques from the masterclass exercise 20.
Explore filtering and aggregation in Exercise 23 using a dataset with age ranges, gender, and count criteria. Identify records where the total exceeds one.
Create and standardize all 24 requests for Grace and Pete, ensuring each is written and presented as a good request for review.
Correct a SQL query in exercise 25 by fixing syntax errors and refining the request to produce valid SQL.
Practice and validate exercises 17 through 25 in part 2 of the SQL Server 2022 Masterclass, applying select queries, counts, and filters by age and gender, with ordering.
This course also takes the new SQL Server version 2022 (new features such as GREATEST, LEAST, WINDOWS, STRING_SPLIT, DATE_BUCKET and GENERATE_SERIES are discussed)
Welcome to the richest and most comprehensive course on the Udemy platform about SQL Server.
This course lists the 16 courses in my catalogue:
SQL Server for complete beginners (7 hours of practice + 80 practical exercises)
Learn the in-demand job of developer SQL
The Complete SQL Server 2019 Database Administration Course
SQL Server 2019 : Administration SQL Server Part 1
SQL Server 2019 : Administration SQL Server Part 2
SQL Server 2019 : Administration SQL Server Part 3
The complete course about BACKUP and RESTORE
Detecting and Correcting Database Corruption
SQL Server: Configuring and modifying a database on SQL
99 queries to master SQL in less than 4 hours!
SQL Server: The complete course on Indexes
Learn the in-demand job of DBA SQL Server
SQL Server: Security and Privilege Management
Come and challenge the Transact SQL with these 50 exercises
Joins, partition functions, and CTE in Transact SQL 2019.
Prepare your future interview on SQL Server (with these 40 questions and 40 answers ! )
I challenge you to find in a single course these 3 very important chapters on SQL Server :
◉ Chapter 1 : Transact SQL for the absolute beginner and also experienced developers (10 hours of class)
Let's start by installing SQL Server and management studio on your workstation.
The creation and definition of a database and a table.
Let's start playing with data with SELECT,UPDATE,INSERT and DELETE
Discover the column aliases and tackle the specificity and secrets of LIKE and TOP.
Learn how to remove duplicates with the DISTINCT and discover the Comparison operators = != and Copying a table with the SELECT INTO.
Let's talk about the IN, NOT IN, IS and IS NOT operators, and Sort your data with ORDER BY.
Discover aggregate functions with MIN MAX and AVG and the two operators AND,OR.
Let's discover the specificity of COUNT and SUM and how to SELECT a range of data with the BETWEEN and Group several results with the GROUP BY
A long chapter of 1h30 minutes on JOINS with INNER JOIN,LEFT/RIGHT JOIN FULL OUTER JOIN and so on..
Let's discover the specificity of UNION and UNION ALL, and the LEFT and RIGHT function.
Let's go even further with Transact SQL with the IIF,CASE WHEN,OFFSET FETCH NEXT ROWS and CHOOSE.
Let's look at the conversion functions through CAST and CONVERT, TRY_CAST and TRY_CONVERT.
Let's approach the DATE type functions with DATEADD,DATEDIFF,GETDATE (), EOMONTH ...
Let's deepen our knowledge of TSQL even more With IF/ELSE, STRING SPLIT,STUFF,MERGE…
The creation and definition of a view and Stored Procedure,function, schéma and trigger.
A very long chapter of 1h30 minutes on RANKING functions such as ROW_NUMBER, OVER and PARTITION BY, ROWS /RANGE UNBOUNDED PRECEDING, FIRST and LAST VALUES, LAG and LEAD,ROW_NUMBER, DENSE _RANK, RANK, NTILE.
We will discover a one hour course on CTE (common table expression). So powerful and so little known (I still don't understand by the way) and the derived table.
Do you know the difference between Temporary tables, Variable tables and Global tables?
◉ Chapter 2: The complete administration of a SQL Server (11 hours of class)
Tackle BACKUP and RESTORE for 3 hours, we will see in detail in this course, how to set up a robust and reliable strategy, to guarantee your data on a production server.
In another 2 hour course, we will learn how to detect and repair corruption on a database. Did you know that Microsoft logs over 1000 support cases per day regarding corruption! And you, how would you react in case of corruption?
We will also discuss during 3 hours, the configuration and modification of your database on SQL. Did you know that a bad Autogrow set on your database, can make you lose 60% of your performance? Do you know the TRUSTWORTHY or DB_CHAINING option? Everything is covered in this course, and believe me, you will be surprised at the number of options on a DB that SQL Server offers.
Administration rhymes with precaution, and therefore of course with security. We will discuss security and privilege management during 2 hours. We will learn how to set up a robust and secure SQL server.
We will cover a long chapter on the different isolation modes (READ COMMITED, SERIALIZABLE, SNAPSHOT...), we will also see the different types of constraints (PK,FK,CHECK,UNIQUE...), as well as SEQUENCES, and IDENTITY.
We will also discuss the change data capture (CDC), many new features released on SQL Server 2016 such as Row Level Security, Dynamic Data Masking (DDM), Temporal Data.
◉ Chapter 3: How to improve performance on your production SQL server (4 hours)
If we are talking about performance, we will of course be talking about indexes. This is a good thing because it will be covered in this chapter for 4 hours. A good implementation of your indexes can really save your performance on your SQL server. I strongly advise you to look at this chapter, to perhaps avoid going into huge costs of buying servers, which may not be necessary.
Do you know SARGABLE queries? I let you discover it in this chapter, to rewrite your SQL queries, in a better way, and thus of course, better performance.
◉ Chapter 4: Come and take a virtual interview through these 40 questions and 40 theoretical answers.
Start out more confident by tackling all these theoretical questions, so that you can face an interview on SQL.
You are a Java developer or Python for example, you go to an interview, you don't really know what to review beforehand, this is a summary of the most frequently asked questions.
For example : What is a primary key ? what is an index? What is the difference between OLAP and OLTP ? Do you know the COALLESCE function ? or how do you remove duplicates with your query ?
There will be many new sections added in 2021, of course if you have already purchased this course, these new modules will be free for you :
How to administer your SQL server with powershell? (3 hours of class)
Improve the performance of stored procedures (2 hours of class)
Let's go together on SQL Azure ! (3 hours of class)
Of course there are more than 100 exercises and corrections in this course.
This course will have an estimated duration of between 30 and 40 hours once completed.