Complete Microsoft Sql Masterclass Beginner Advanced

Master course using Microsoft SQL Server. These SQL can also used in Oracle, MySQL, PostgreSQL, SQLite, DB2, etc.

Last updated 2022-01-10 | 4.4

- Start your career by mastering complete SQL statements in Microsoft SQL Server
- Queries and Files Included
- Learn different ways to select Records from Tables

What you'll learn

Start your career by mastering complete SQL statements in Microsoft SQL Server
Queries and Files Included
Learn different ways to select Records from Tables
Filter the Records of the Table
How to sort the result
GROUP BY Clause
Learn all aggregate Functions
JOINs in table
UNION and UNION ALL
Create Tables
Insert Records
Update data inside table
Modify the column and constraints
The same set of SQL statements can be used with Oracle
PostgreSQL
MySQL
etc
All the Keys and Constraints are explained in detail

* Requirements

* No knowledge of SQL required for this course
* We will install free version of Microsoft SQL Server 2019 in Windows
* A laptop with Windows 8 or Windows 10

Description

  • Start your career by mastering complete SQL statements in Microsoft SQL Server
  • Queries and Files Included
  • Learn different ways to select Records from Tables
  • Filter the Records of the Table
  • How to sort the result
  • GROUP BY Clause
  • Learn all aggregate Functions
  • JOINs in table
  • UNION and UNION ALL
  • Create Tables
  • Insert Records
  • Update data inside table
  • Modify the column and constraints
  • The same set of SQL statements can be used with Oracle, PostgreSQL, MySQL, etc
  • All the Keys and Constraints are explained in detail

Course content

15 sections • 215 lectures

Welcome and Introduction Preview 03:30

Install the Microsoft SQL Server 2019 on Windows Preview 07:20

Import a Sample Database Preview 05:58

Install Microsoft SQL Server on Mac Preview 00:03

SELECT Statement in SQL Preview 09:38

Code used - SELECT Statement in SQL Preview 00:07

SELECT DISTINCT Preview 05:43

Code used - SELECT DISTINCT Preview 00:08

Case with SELECT Preview 05:51

Code used - Case with SELECT Preview 00:34

Quiz

WHERE Clause Preview 05:33

Code used - WHERE Clause Preview 00:10

Comparison Operators in WHERE Clause Preview 06:42

Code used - Comparison Operators in WHERE Clause Preview 00:19

Arithmetic Operators in WHERE clause Preview 09:00

Code used - Arithmetic Operators in WHERE clause Preview 00:20

Logical Operators in WHERE clause Preview 14:23

Code used - Logical Operators in WHERE clause Preview 00:49

Concatenation operator(+) with WHERE clause Preview 05:27

Code used - Concatenation operator(+) with WHERE clause Preview 00:19

Concat() function to combine strings Preview 06:51

Code used - concat function Preview 00:08

IS NULL Value Preview 02:33

Code used - IS NULL Value Preview 00:05

Between Operator in WHERE Clause Preview 13:58

Code used - Between Operator in WHERE Clause Preview 00:16

Better way to tackle dates with CAST Function Preview 04:28

Code used - Better way to tackle dates with CAST Function Preview 00:07

IN Operator Preview 04:48

Code used - IN Operator Preview 00:15

Quiz

LIKE Operator with percent to match 0 or more Characters Preview 04:03

Code used - LIKE Operator with percent to match 0 or more Characters Preview 00:11

LIKE Operator with [...] Character classes Preview 05:26

Code used - LIKE Operator with [...] Character classes Preview 00:12

LIKE Operator with character range Preview 07:38

Code used - LIKE Operator with character range Preview 00:14

LIKE Operator with Negation Character Preview 02:36

Code used - LIKE Operator with Negation Character Preview 00:03

LIKE Operator with Underscore Preview 04:07

Code used - LIKE Operator with Underscore Preview 00:06

Test Your skills Preview 01:47

Code used - Test Your skills Preview 00:04

Escaping single characters Preview 03:24

Code used - Escaping single characters Preview 00:06

Quiz

ORDER BY Clause - Part 1 Preview 15:38

Code used - ORDER BY Clause - Part 1 Preview 00:45

ORDER BY Clause - Part 2 Preview 04:05

Code used - ORDER BY Clause - Part 2 Preview 00:10

ORDER BY clause - Part 3 Preview 05:37

Code used - ORDER BY Clause - Part 3 Preview 00:14

ORDER BY Clause - Part 4 Preview 07:58

Code used - ORDER BY Clause - Part 4 Preview 00:25

GROUP BY clause - Part 1 Preview 05:00

Code used - GROUP BY Clause - Part 1 Preview 00:03

GROUP BY clause - Part 2 Preview 04:44

Code used - GROUP BY Clause - Part 2 Preview 00:06

GROUP BY clause - Part 3 Preview 06:15

Code used - GROUP BY Clause - Part 3 Preview 00:19

Functions - Numerical Functions & Aggregate functions Preview 01:24

sum() Function Preview 02:02

Code used - sum() Function Preview 00:04

avg() and count() aggregate functions Preview 04:42

Code used - avg() and count() aggregate functions Preview 00:15

max() and min() functions Preview 04:18

Code used - max() and min() functions Preview 00:13

Less used Numerical functions Preview 08:35

Code used - Less used Numerical functions Preview 00:09

String Functions - Part 1 Preview 04:30

Code used - String Functions - Part 1 Preview 00:06

String Functions - Part 2 Preview 03:38

Code used - String Functions - Part 2 Preview 00:02

String Functions - Part 3 Preview 03:43

Code used - String Functions - Part 3 Preview 00:04

String Functions - Part 4 Preview 03:49

Code used - String Functions - Part 4 Preview 00:07

String Functions - Part 5 Preview 07:43

Code used - String Functions - Part 5 Preview 00:08

String Functions - Part 6 Preview 04:27

Code used - String Functions - Part 6 Preview 00:06

Date Functions - Part 1 Preview 10:26

Code used - Date Functions - Part 1 Preview 00:23

Date Functions - Part 2 Preview 05:03

Code used - Date Functions - Part 2 Preview 00:07

Date Functions - Part 3 Preview 02:52

Code used - Date Functions - Part 3 Preview 00:03

Date Functions - Part 4 Preview 04:11

Code used - Date Functions - Part 4 Preview 00:02

isdate(), isnull() and isnumeric() functions Preview 08:22

Code used - isdate(), isnull() and isnumeric() functions Preview 00:10

coalesce(), nullif(), convert, iif() functions Preview 10:28

Code used - coalesce, nullif, convert, iif functions Preview 00:13

HAVING Clause Preview 12:18

Code used - HAVING Clause Preview 00:17

Subquery - Part 1 Preview 05:28

Code used - Subquery - Part 1 Preview 00:12

Subquery - Part 2 Preview 07:33

Code used - Subquery - Part 2 Preview 00:19

Subquery - Part 3 Preview 04:57

Code used - Subquery - Part 3 Preview 00:09

Subquery - Part 4 Preview 03:40

Code used - Subquery - Part 4 Preview 00:11

Subquery - Part 5 Preview 05:27

Code used - Subquery - Part 5 Preview 00:06

Subquery - Part 6 Preview 06:16

Code used - Subquery - Part 6 Preview 00:08

Subquery - Part 7 Preview 04:09

Code used - Subquery - Part 7 Preview 00:03

Subquery - Part 8 Preview 06:58

Code used - Subquery - Part 8 Preview 00:09

Subquery - Part 9 Preview 01:57

Code used - Subquery - Part 9 Preview 00:09

Quiz

UNION and UNION All - Part 1 Preview 05:04

UNION and UNION All - Part 2 Preview 11:51

Code used - UNION and UNION All - Part 2 Preview 00:07

UNION and UNION All - Part 3 Preview 08:31

Code used - UNION and UNION All - Part 3 Preview 00:08

UNION and UNION All - Part 4 Preview 05:36

Code used - UNION and UNION All - Part 4 Preview 00:21

UNION and UNION All - Part 5 Preview 01:47

Code used - UNION and UNION All - Part 5 Preview 00:06

INTERSECT Operator Preview 04:42

Code used - INTERSECT Operator Preview 00:02

EXCEPT Operator Preview 03:40

Code used - EXCEPT Operator Preview 00:02

Implicit Joins Preview 09:44

Code used - Implicit Joins Preview 00:06

INNER JOIN - Part 1 Preview 05:16

Code used - INNER JOIN - Part 1 Preview 00:18

INNER JOIN - Part 2 Preview 06:13

Code used - INNER JOIN - Part 2 Preview 00:05

LEFT JOIN - Part 1 Preview 04:43

LEFT JOIN - Part 2 Preview 09:03

Code used - LEFT JOIN - Part 2 Preview 00:11

LEFT JOIN - Part 3 Preview 04:26

Code used - LEFT JOIN - Part 3 Preview 00:19

RIGHT JOIN Preview 06:33

Code used - RIGHT JOIN Preview 00:10

FULL JOIN Preview 03:43

Code used - FULL JOIN Preview 00:07

CROSS JOIN Preview 04:38

Code used - CROSS JOIN Preview 00:04

Data Types in MS SQL Server Preview 11:41

CREATE Database Preview 05:04

Code used - CREATE Database Preview 00:01

Naming Convention for objects in MS SQL Server Preview 04:11

Create TABLE without constraints Preview 08:25

Code used - Create TABLE without constraints Preview 00:11

Create Table under retail Schema Preview 02:00

Code used - Create Table under retail Schema Preview 00:05

CREATE Table Statement with Constraints Preview 02:39

CREATE TABLE with NOT NULL Constraint Preview 03:50

Code used - CREATE TABLE with NOT NULL Constraint Preview 00:08

CREATE TABLE with CHECK Constraint Preview 06:03

Code used - CREATE TABLE with CHECK Constraint Preview 00:09

CREATE TABLE with UNIQUE Constraint Preview 06:22

Code used - CREATE TABLE with UNIQUE Constraint Preview 00:09

CREATE TABLE with DEFAULT Constraint Preview 04:39

Code used - CREATE TABLE with DEFAULT Constraint Preview 00:07

CREATE TABLE with Primary Key Preview 10:10

Code used - CREATE TABLE with Primary Key Preview 00:14

Foreign Key - Part 1 Preview 07:48

Foreign Key - Part 2 Preview 09:48

Code used - Foreign Key - Part 2 Preview 00:20

Foreign Key - Part 3 Preview 06:24

Code used - Foreign Key - Part 3 Preview 00:10

UNIQUE INDEX with Primary and Foreign Key Preview 04:02

Code used - UNIQUE INDEX with Primary and Foreign Key Preview 00:11

How to Check for UNIQUE INDEX Preview 01:18

INDEX Preview 03:31

Code used - INDEX Preview 00:02

INSERT Statement into table which does not have any constraint Preview 11:41

Code used - INSERT Statement into table which does not have any constraint Preview 00:12

INSERT Statement into table which has constraints Preview 06:39

Code used - INSERT Statement into table which has constraints Preview 00:05

Changing the order of columns in INSERT Statement Preview 01:39

Code used - Changing the order of columns in INSERT Statement Preview 00:05

INSERT Statement- Insert records into child table Preview 12:28

Code used - INSERT Statement- Insert records into child table Preview 00:02

UPDATE Statement Preview 08:02

Code used - UPDATE Statement Preview 00:10

Quiz

Views Preview 10:53

Code used - Views Preview 00:15

Dropping Views Preview 02:08

Code used - Dropping Views Preview 00:06

CREATE OR ALTER VIEW Statement Preview 04:02

Code used - CREATE OR ALTER VIEW Statement Preview 00:06

SELECT INTO Statement Preview 12:56

Code used - SELECT INTO Statement Preview 00:14

INSERT INTO Statement Preview 07:47

Code used - INSERT INTO Statement Preview 00:07

Details about Assignment Preview 00:47

Details about the tables Preview 00:30

Solution - Create table Statements to create 4 Tables Preview 00:25

Explaining about the tables of the Assignment Preview 05:13

ALTER Statement Preview 01:06

ALTER ADD Statement Preview 08:32

Code used - ALTER ADD Statement Preview 00:08

ALTER ADD for default value Preview 04:00

Code used - ALTER ADD for default value Preview 00:04

ALTER Statement for modification Preview 04:28

Code used - ALTER Statement for modification Preview 00:04

ALTER DROP Statement Preview 05:04

Code used - ALTER DROP Statement Preview 00:04

RENAMING Tables and Columns Preview 03:20

Code used - RENAMING Tables and Columns Preview 00:02

DELETE and DROP Tables Preview 05:17

Code used - DELETE and DROP Tables Preview 00:06

Drop Index Preview 01:28

Code used - Drop Index Preview 00:01

Bonus Lesson : Let us stay connected Preview 00:51