SQL Server

1.Introduction to DB Concepts

  • Disadvantages of File Processing System
  • Advantages of Data Base Management System
  • Data Base Management System Terminology
  •  How these are related to SQL
  • What is SQL and T-SQL

2.Different Types of Commands in SQL

  •  Data Definition Language Commands
  1. CREATE COMMAND
  2. INSERT COMMAND
  3. ALTER COMMAND
  4. TRUNCATE COMMAND
  5. DROP COMMAND
  6. Data Manipulation Commands
  7. INSERT COMMAND
  8. DELETE COMMAND
  9. UPDATE COMMAND
  • Data Control Language Commands
  1. GRANRT COMMAND
  2. REVOKE COMMAND
  3. Data Retrieval Commands
  4. SELECT COMMAND
  5. WHERE CLAUSE
  6. GROUP BY CLAUSE
  7. HAVING CLAUSE
  8. ORDER BY CLAUSE
  • Transaction Control Language Commands
  1. COMMIT COMMAND
  2. ROLLBACK COMMAND
  3. SAVE POINT COMMAND
  • Examples for all the above categories of commands

3.Data Types used in SQL

  • Numeric Data Types
  • Character or Text Data Types
  • Date and Time related Data Types
  • Miscellaneous Data Types

4.Operators in SQL

  • What is an Operator?
  • Different Categories of Operators
  1. Arithmetic Operators
  2. Relational Operators
  3. Logical Operators
  4. Miscellaneous Operators

5.Functions in SQL

  • What are different categories of functions in SQL
  • What is a Scalar Function?
  • What is an Aggregate Function?
  • Different predefined Scalar functions available in SQL
  1. Numeric Functions
  2. String Functions
  3. Date Time functions
  4. Miscellaneous Functions
  • Different predefined Aggregate Functions in SQL

6.CONSTRAINTS in SQL

  • What is a Constraint and its advantages
  • Types of Constraints
  1. Predefined Constraints
  2. User Defined Constraints
  • More of predefined Constraints
  1. Primary Key Constraint
  2. Foreign Key Constraint
  3. Check Constraint
  4. Not Null Constraint
  5. Unique Constraint
  • What is a User Defined Constraint?

7.JOINS in SQL

  • What is a JOIN and what is its necessity
  • Types of JOINS
  1. Inner JOIN
  2. Natural JOIN
  3. Outer JOIN: Left Outer, Right Outer
  4. Cartesian JOIN

8.SET Operators

  • Union
  • Union All
  • Intersect

9.SUB QUERIES

10.VIEWS in SQL

  •  What is a view and its advantages
  • Types of Views

11.INDEXES

  • What is an Index and its advantages
  • Types of Indexes
  1. CLUSTERED INDEX
  2. NON CLUSTERED INDEX

 

T-SQL:

 

1.T-SQL

  • What is T-SQL?
  • What we can do with T-SQL?

2.Different Programming Constructs in T-SQL

  • Conditional Statements:
  • IF Statements
  • IF ELSE Statements
  • NESTED IF ELSE Statements
  • Switch or Case Statements
  • Looping Statements
  • FOR / WHILE Statements for Looping

3.Stored Procedures and Functions

  • What is a Stored Procedure?
  • How to write and execute a Stored Procedure
  • What is a user defined function?
  • How to write and execute a Function
  • Differences between Stored Procedures and Functions

3.Error Handling in T-SQL

  • Use of TRY CATCH Statements in SP and Functions to Handle Errors

4.Cursors

  • What is a Cursor and its advantages?
  • Different types of Cursors and its usage

5.Triggers

  • What is a Trigger and its advantages
  • Different Types of Triggers
  • How to write and make the Triggers to fire automatically