|
|
Lecture-1 SQL Fundamentals
· Various types of databases
· Introduction to Structured Query Language
· Distinction between client server and file server databases
· Understanding SQL Server Management Studio
· SQL Table basics
· Data types and functions
· Transaction-SQL
· Authentication for Windows
· Data control language
· The identification of the keywords in T-SQL, such as Drop Table
· Practical Exercise
|
|
|
|
|
Lecture-2 Database Normalization
· Data Anomalies
· Update Anomalies
· Insertion Anomalies
· Deletion Anomalies
· Types of Dependencies
· Functional Dependency
· Fully functional dependency
· Partial functional dependency
· Transitive functional dependency
· Multi-valued functional dependency
· Decomposition of tables
· Lossy decomposition
· Lossless decomposition
· What is Normalization?
· First Normal Form
· Second Normal Form
· Third Normal Form
· Boyce-Codd Normal Form(BCNF)
· Fourth Normal Form
· Practical Exercise
|
|
|
|
|
Lecture-3 Entity Relationship Model
· Entity-Relationship Model
· Entity and Entity Set
· Attributes and types of Attributes
· Entity Sets
· Relationship Sets
· Degree of Relationship
· Mapping Cardinalities, One-to-One, One-to-Many, Many-to-one, Many-to-many
· Symbols used in E-R Notation
· Practical Exercise
|
|
|
|
|
Lecture -4 SQL Operators
· Introduction to relational databases
· Fundamental concepts of relational rows, tables, and columns
· Several operators (such as logical and relational), constraints, domains, indexes, stored procedures, primary and foreign keys
· Understanding group functions
· The unique key
· Practical Exercise
|
|
|
|
|
Lecture -5 Working with SQL
· Join,
· Tables
· Variables
· Practical Exercise
|
|
|
|
|
Lecture-6 Advanced concepts of SQL tables
· SQL functions
· Operators & queries
· Table creation
· Data retrieval from tables
· Combining rows from tables using inner, outer, cross, and self joins
· Deploying operators such as ‘intersect,’ ‘except,’ ‘union,’
· Temporary table creation
· Set operator rules
· Table variables
· Practical Exercise
|
|
|
|
|
Lecture – 7 Deep Dive into SQL Functions
· Understanding SQL functions
· Scalar functions
· Aggregate functions
· Functions that can be used on different datasets, such as numbers, characters, strings, and dates
· Inline SQL functions
· General functions
· Duplicate functions
· Practical Exercise
|
|
|
|
|
Lecture - 8 Working with Subqueries
· Understanding SQL subqueries, their rules
· Statements and operators with which subqueries can be used
· Using the set clause to modify subqueries
· Understanding different types of subqueries, such as where, select, insert, update, delete, etc
· Methods to create and view subqueries
· Practical Exercise
|
|
|
|
|
Lecture - 9 SQL Views, Functions, and Stored Procedures
· Learning SQL views
· Methods of creating, using, altering, renaming, dropping, and modifying views
· Understanding stored procedures and their key benefits
· Working with stored procedures
· Studying user-defined functions
· Error handling
· Practical Exercise
|
|
|
|
|
Lecture -10 Deep Dive into User-defined Functions
· User-defined functions
· Types of UDFs, such as scalar
· Inline table value
· Multi-statement table
· Stored procedures and when to deploy them
· What is rank function?
· Triggers, and when to execute triggers?
· Practical Exercise
|
|
|
|
|
Lecture - 11 SQL Optimization and Performance
· SQL Server Management Studio
· Using pivot in MS Excel and MS SQL Server
· Differentiating between Char, Varchar, and NVarchar
· XL path, indexes and their creation
· Records grouping, advantages, searching, sorting, modifying data
· Clustered indexes creation
· Use of indexes to cover queries
· Common table expressions
· Index guidelines
· Practical Exercise
|
|
|
|
|
Lecture -12 Managing Data with Transact-SQL
· Creating Transact-SQL queries
· Querying multiple tables using joins
· Implementing functions and aggregating data
· Modifying data
· Determining the results of DDL statements on supplied tables and data
· Constructing DML statements using the output statement
· Practical Exercise
|
|
|
|
|
Lecture - 13 Querying Data with Advanced Transact-SQL Components
· Querying data using subqueries and APPLY
· Querying data using table expressions
· Grouping and pivoting data using queries
· Querying temporal data and non-relational data
· Constructing recursive table expressions to meet business requirements
· Using windowing functions to group
· Rank the results of a query
· Practical Exercise
|
|
|
|
|
Lecture - 14 Programming Databases Using Transact-SQL
· Creating database programmability objects by using T-SQL
· Implementing error handling and transactions
· Implementing transaction control in conjunction with error handling in stored procedures
· Implementing data types and NULL
· Practical Exercise
|
|
|
|
|
Lecture - 15 Designing and Implementing Database Objects
· Designing and implementing relational database schema
· Designing and implementing indexes
· Learning to compare between indexed and included columns
· Implementing clustered index
· Designing and deploying views
· Column store views
· Practical Exercise
|
|
|
|
|
Lecture - 16 Implementing Programmability Objects
· Explaining foreign key constraints
· Using T-SQL statements
· Usage of Data Manipulation Language (DML)
· Designing the components of stored procedures
· Implementing input and output parameters
· Applying error handling
· Executing control logic in stored procedures
· Designing trigger logic, DDL triggers, etc
· Practical Exercise
|
|
|
|
|
Lecture - 17 Managing Database Concurrency
· Applying transactions
· Using the transaction behavior to identify DML statements
· Learning about implicit and explicit transactions
· Isolation levels management
· Understanding concurrency and locking behaviour
· Using memory-optimized tables
· Practical Exercise
|
|
|
|
|
Lecture - 18 Optimizing Database Objects
· Accuracy of statistics
· Formulating statistics maintenance tasks
· Dynamic management objects management
· Identifying missing indexes
· Examining and troubleshooting query plans
· Consolidating the overlapping indexes
· The performance management of database instances
· SQL server performance monitoring
· Practical Exercise
|
|
|
|
|
Lecture - 19 Advanced SQL
· Correlated Subquery, Grouping Sets, Rollup, Cube
· Implementing Correlated Subqueries
· Using EXISTS with a Correlated subquery
· Using Union Query
· Using Grouping Set Query
· Using Rollup
· Using CUBE to generate four grouping sets
· Perform a partial CUBE
· Practical Exercise
|
|
|