1.
Introduction
1.1 Introduction to Databases: Databases Basics and Relational Database
Management Systems
1.2 Computer Basics: Hardware and Software System Resources
1.3 Networking Basics: LAN, WAN, Intranet and Internet Basics
1.4 Client-Server Network Architecture
1.5 Servers vs. Workstations vs. PCs
2. Introducing MS SQL Server: MS SQL Server 2008 R2
2.1 Versions and Editions: Full Software Releases and Service Patches
2.2 SQL Server Tools and Utilities
2.3 Browsing SQL Server Management Studio
2.4 Connecting to SQL Server: Windows vs. SQL Authentication
2.5 MSSQL Server Services:
2.5.1 Database Engine
2.5.2 SSIS, SQL Server Integration Services
2.5.3 SSRS, SQL Server Reporting Services
2.5.4 SSAS, SQL Server Analysis Services
2.6 SQL Query Editor: Editor Properties and Editor Tools
3. Introduction to SQL: Structured Query Language
3.1 DDL, DML, TCL and DCL Languages
3.2 DDL: Data Definition Languages
3.2.1 CREATE: Creating Database Objects
3.2.2 ALTER: Modifying Database Objects
3.2.3 DROP: Deleting Database Objects
3.2.4 System Database: master, model, msdb and tempdb
3.2.5 Database Files and File Groups
3.3 Table Column Properties: Column Name, Data Type, Data Size, Nulls
3.4 DML: Data Manipulation Languages
3.4.1 SELECT
3.4.2 INSERT
3.4.3 UPDATE
3.4.4 DELETE
3.5 Compare DELETE vs. DROP
3.6 Compare DELETE vs. TRUNCATE
3.7 TCL: Transaction Control Languages ROLLBACK, COMMIT
3.8 SQL Transaction States
4. Single Table Queries: SELECT statement with its Full Options
4.1 Select
Distinct
Top
From
Where
Group By
Having
Order By
4.1.1 SQL Alias AS
4.1.2 SQL Functions: Scalar Functions vs. Table-Valued Functions
4.1.3 Aggregate Functions, Date Time Functions
4.1.4 SQL Operators: Arithmetic, Logical, Set Operators and Predicates
4.1.5 Calculated Fields
4.1.6 Views: Nested Views
4.1.7 Insert, Update, Delete through Views
4.1.8 View Options: With Check Option, With Schema binding option
5. Database Design and Data Modeling
5.1 Phases of Database Design: Conceptual, Logical and Physical Design
5.2 E-R Diagram
5.3 Candidate Key, Primary Key: Surrogate vs. Natural Key
5.4 Constraints: Not Null, Unique Key, Primary Key, Foreign Key, Check,
Default
5.5 Identity Key
6. Database Normalization
6.1 Normalization Principles
6.2 Normalization forms: 1NF, 2NF and 3NF
6.3 Anomalies: INSERT, UPDATE and DELETE anomalies
7. Multi Table Queries
7.1 Joins Statements
7.1.1 INNER JOIN
7.1.2 OUTER JOIN: Left, Right and Full Outer Join
7.2 Implicit Join vs. Explicit Join
7.3 SQL Copy Data: Select Into and Insert into
7.4 SQL Import Export Wizard
7.5 SQL Operators: Set Operators UNION, INTERSECT, EXCEPT
8. Advanced Queries
8.1 Stored Procedures and SQL Variables
8.2 SQL Sub-Queries
8.3 Derived Tables
8.4 Derived Tables vs. Sub-Queries
8.5 Temp Tables: Local vs. Global
8.6 Table Variables
8.7 Base Table vs. Derived Tables vs. Temp Tables vs. Table Variables vs.
Views
8.8 Conditional Statements
8.8.1 If Else
8.8.2 Case When
8.9 SQL Cursors
8.10 SQL Triggers
8.11 Indexes: Improve Query Performance
8.12 Clustered vs. Non-Clustered Indexes
8.13 Index Fragmentation
8.14 Index Rebuild and Re-Organize