SQL - Training Rajesh Charles
Agenda (Complete Course) Introduction Testing Methodologies Manual Testing Practical Workshop Automation Testing Practical Workshop Performance Testing Practical Workshop SQL for Beginners Quality Center UNIX for Beginners Interview Practice and Mock Interview
SQL– Introduction Tester
SQL– Introduction
DataBase– Introduction
DataBase– HR Schema
DataBase– (DML) Data Manipulation Language (DML) Create Database Create Table and Add Columns Alter Table
DataBase– Primary Key The Primary Key uniquely identifies each record in a database table Primary Key must contain unique values A Primary Key column cannot contain NULL values Each Table should have a primary key and each table can have only ONE primary key
DataBase– FOREIGN KEY Foreign key is a field in the table that is primary key in another table Foreign key can accept multiple null value. We can have more than one foreign key table
SQL - Functions
SQL – Number Functions
SQL – Date Functions The Default data format is DD-MON-YYYY
SQL – Group Functions
DataBase– SQL Capabilities
SQL – JOINS SQL JOINS are used to retrieve data from multiple tables An SQL JOIN is performed whenever two or more tables are joined in a SQL statement
SQL – JOINS
JOINS Inner JoinsOuter Joins Also called Simple JoinLeft Outer Join ( called Left Join) Right Outer Join ( called Right Join) Full Outer Join ( Full Join)
SQL – JOINS
SQL – INNER JOINS
SQL – LEFT OUTER JOIN