Issuu on Google+

Info@monstercourses.com

www.monstercourses.com

SQL

SQL 1. Introduction to DB Concepts i.

Disadvantages of File Processing System

ii. Advantages of Data Base Management System iii. Data Base Management System Terminology iv. How these are related to SQL v. What is SQL and T-SQL 1. Getting Started with SQL a. Different Types of Commands in SQL vi. Data Definition Language Commands CREATE COMMAND INSERT COMMAND ALTER COMMAND TRUNCATE COMMAND DROP COMMAND vii. Data Manipulation Commands INSERT COMMAND DELETE COMMAND UPDATE COMMAND viii. Data Control Language Commands GRANRT COMMAND REVOKE COMMAND ix. Data Retrieval Commands

www.monstercourses.com


Info@monstercourses.com

www.monstercourses.com

SQL SELECT COMMAND WHERE CLAUSE GROUP BY CLAUSE HAVING CLAUSE ORDER BY CLAUSE x. Transaction Control Language Commands COMMIT COMMAND ROLLBACK COMMAND SAVE POINT COMMAND xi. Examples for all the above categories of commands b.

Data Types used in SQL

xii.

Numeric Data Types

xiii.

Character or Text Data Types

xiv.

Date and Time related Data Types

xv.

Miscellaneous Data Types 1. Operators in SQL

a.

What is an Operator

b.

Different Categories of Operators

i.

Arithmetic Operators

ii.

Relational Operators

iii.

Logical Operators

iv.

Miscellaneous Operators 1. Functions in SQL

www.monstercourses.com


Info@monstercourses.com

www.monstercourses.com

SQL a. What are different categories of functions in SQL b.

What is a Scalar Function?

c.

What is an Aggregate Function?

d.

Different predefined Scalar functions available in SQL

xvi.

Numeric Functions

xvii.

String Functions

xviii. Date Time functions xix. e.

Miscellaneous Functions Different predefined Aggregate Functions in SQL

1. CONSTRAINTS in SQL 1. What is a Constraint and its advantages 2. Types of Constraints xx. Predefined Constraints xxi. User Defined Constraints 1. More of predefined Constraints xxii.

PRIMARY KEY CONSTRAINT

xxiii. FOREIGN KEY CONSTRAINT xxiv. CHECK CONSTRAINT xxv.

NOT NULL CONSTRAINT

xxvi. UNIQUE CONSTRAINT 1. What is a User Defined Constraint? 1. JOINS in SQL a.

What is a JOIN and what is its necessity

b.

Types of JOINS www.monstercourses.com


Info@monstercourses.com

SQL xxvii.

INNER JOIN

xxviii.

NATURAL JOIN

xxix.

OUTER JOIN : LEFT OUTER , RIGHT OUTER

xxx.

CARTESIAN JOIN

www.monstercourses.com

1. SET Operators xxxi.

UNION

xxxii.

UNION ALL

xxxiii.

INTERSECT

1. SUB QUERIES 2. VIEWS in SQL a.

What is a view and its advantages

b.

Types of Views 1. INDEXES

a.

What is an Index and its advantages

b.

Types of Indexes

xxxiv.

CLUSTERED INDEX

xxxv.

NON CLUSTERED INDEX

T-SQL: 1. T-SQL a.

What is T-SQL?

b. What we can do with T-SQL? 1. Different Programming Constructs in T-SQL a.

Conditional Statements:

xxxvi.

IF Statements www.monstercourses.com


Info@monstercourses.com

SQL xxxvii.

IF ELSE Statements

xxxviii.

NESTED IF ELSE Statements

xxxix.

Switch or Case Statements

b. xl.

www.monstercourses.com

Looping Statements FOR / WHILE Statements for Looping 1. Stored Procedures and Functions

a.

What is a Stored Procedure

b.

How to write and execute a Stored Procedure

c.

What is an user defined function

d.

How to write and execute a Function

e. Differences between Stored Procedures and Functions 1. Error Handling in T-SQL a.

Use of TRY CATCH Statements in SP and Functions to Handle Errors 1. Cursors

a.

What is a Cursor and its advantages

b.

Different types of Cursors and its usage 1. Triggers

a.

What is a Trigger and its advantages

b.

Different Types of Triggers

c.

How to write and make the Triggers to fire Automatically

www.monstercourses.com


Sql online training