SlideShare a Scribd company logo
1 of 44
1
2
Introduction To MS SQL
Server
Systems Development Life Cycle
3
Project Identification
and Selection
Project Initiation
and Planning
Analysis
Physical Design
Implementation
Maintenance
Logical Design
Enterprise modeling
Conceptual data modeling
Logical database design
Physical database design and
definition
Database implementation
Database maintenance
Database Development ProcessDatabase Development Process
Part Four: Implementation
• Chapter 7 – Introduction to SQL
• Chapter 8 – Advanced SQL
• Chapter 9 – Client/Server Environment
• Chapter 10 – Internet
• Chapter 11 – Data Warehousing
4
Overview
• Define a database using SQL data definition language
• Work with Views
• Write single table queries
• Establish referential integrity
5
SQL Overview
• Structured Query Language
• The standard for relational database management systems (RDBMS)
• SQL-92 and SQL-99 Standards – Purpose:
– Specify syntax/semantics for data definition and manipulation
– Define data structures
– Enable portability
– Specify minimal (level 1) and complete (level 2) standards
– Allow for later growth/enhancement to standard
6
7
SQL Environment
• Catalog
– A set of schemas that constitute the description of a database
• Schema
– The structure that contains descriptions of objects created by a user (base tables,
views, constraints)
• Data Definition Language (DDL)
– Commands that define a database, including creating, altering, and dropping
tables and establishing constraints
• Data Manipulation Language (DML)
– Commands that maintain and query a database
• Data Control Language (DCL)
– Commands that control a database, including administering privileges and
committing data
8
SQL Data types (from Oracle 9i)
• String types
– CHAR(n) – fixed-length character data, n characters long Maximum
length = 2000 bytes
– VARCHAR2(n) – variable length character data, maximum 4000 bytes
– LONG – variable-length character data, up to 4GB. Maximum 1 per table
• Numeric types
– NUMBER(p,q) – general purpose numeric data type
– INTEGER(p) – signed integer, p digits wide
– FLOAT(p) – floating point in scientific notation with p binary digits
precision
• Date/time type
– DATE – fixed-length date/time in dd-mm-yy form
9
10
SQL Database Definition
• Data Definition Language (DDL)
• Major CREATE statements:
– CREATE SCHEMA – defines a portion of the database
owned by a particular user
– CREATE TABLE – defines a table and its columns
– CREATE VIEW – defines a logical table from one or
more views
• Other CREATE statements: CHARACTER SET, COLLATION,
TRANSLATION, ASSERTION, DOMAIN
11
The following slides create tables for this enterprise
data model
12
13
Relational Data Model
14
Non-nullable specification
Identifying primary key
Primary keys can
never have NULL
values
Create PRODUCT table
15
Non-nullable specifications
Primary key
Some primary keys are composite – composed of multiple attributes
16
Default value
Domain constraint
Controlling the values in attributes
17
Identifying foreign keys and establishing relationships
Primary key of
parent table
Foreign key of
dependent table
Data Integrity Controls
• Referential integrity – constraint that ensures that foreign
key values of a table must match primary key values of a
related table in 1:M relationships
• Restricting:
– Deletes of primary records
– Updates of primary records
– Inserts of dependent records
18
19
Using and Defining Views
• Views provide users controlled access to tables
• Base Table – table containing the raw data
• Dynamic View
– A “virtual table” created dynamically upon request by a user
– No data actually stored; instead data from base table made available to user
– Based on SQL SELECT statement on base tables or other views
• Materialized View
– Copy or replication of data
– Data actually stored
– Must be refreshed periodically to match the corresponding base tables
20
Sample CREATE VIEW
CREATE VIEW EXPENSIVE_STUFF_V AS
SELECT PRODUCT_ID, PRODUCT_NAME, UNIT_PRICE
FROM PRODUCT_T
WHERE UNIT_PRICE >300
WITH CHECK_OPTION;
21
View has a name
View is based on a SELECT statement
CHECK_OPTION works only for updateable views and prevents
updates that would create rows not included in the view
Advantages of Views
• Simplify query commands
• Assist with data security (but don't rely on views for security, there are
more important security measures)
• Enhance programming productivity
• Contain most current base table data
• Use little storage space
• Provide customized view for user
• Establish physical data independence
22
Disadvantages of Views
• Use processing time each time view is referenced
• May or may not be directly updateable
23
Create Four Views
CREATE VIEW CUSTOMER_V AS SELECT * FROM CUSTOMER_T;
CREATE VIEW ORDER_V AS SELECT * FROM ORDER_T;
CREATE VIEW ORDER_LINE_V AS SELECT * FROM ORDER_LINE_T;
CREATE VIEW PRODUCT_V AS SELECT * FROM PRODUCT_T;
‘*’ is the wildcard
24
Changing and Removing Tables
• ALTER TABLE statement allows you to change column
specifications:
– ALTER TABLE CUSTOMER_T ADD (TYPE VARCHAR(2))
• DROP TABLE statement allows you to remove tables from
your schema:
– DROP TABLE CUSTOMER_T
25
Schema Definition
• Control processing/storage efficiency:
– Choice of indexes
– File organizations for base tables
– File organizations for indexes
– Data clustering
– Statistics maintenance
• Creating indexes
– Speed up random/sequential access to base table data
– Example
• CREATE INDEX NAME_IDX ON CUSTOMER_T(CUSTOMER_NAME)
• This makes an index for the CUSTOMER_NAME field of the
CUSTOMER_T table
26
Insert Statement
• Adds data to a table
• Inserting a record with all fields
– INSERT INTO CUSTOMER_T VALUES (001, ‘Contemporary Casuals’, 1355 S.
Himes Blvd.’, ‘Gainesville’, ‘FL’, 32601);
• Inserting a record with specified fields
– INSERT INTO PRODUCT_T (PRODUCT_ID, PRODUCT_DESCRIPTION,
PRODUCT_FINISH, STANDARD_PRICE, PRODUCT_ON_HAND) VALUES (1, ‘End
Table’, ‘Cherry’, 175, 8);
• Inserting records from another table
– INSERT INTO CA_CUSTOMER_T SELECT * FROM CUSTOMER_T WHERE STATE =
‘CA’;
27
28
29
30
31
Delete Statement
• Removes rows from a table
• Delete certain rows
– DELETE FROM CUSTOMER_T WHERE STATE = ‘HI’;
• Delete all rows
– DELETE FROM CUSTOMER_T;
32
Update Statement
• Modifies data in existing rows
UPDATE PRODUCT_T SET UNIT_PRICE = 775 WHERE
PRODUCT_ID = 7;
33
SELECT Statement
• Used for queries on single or multiple tables
• Clauses of the SELECT statement:
– SELECT : List the columns (and expressions) that should be returned from the query
– FROM : Indicate the table(s) or view(s) from which data will be obtained
– WHERE : Indicate the conditions under which a row will be included in the result
– GROUP BY : Indicate columns to group the results
– HAVING : Indicate the conditions under which a group will be included
– ORDER BY : Sorts the result according to specified columns
34
35
Figure : SQL statement
processing order
SELECT Example
• Find products with standard price less than $275
SELECT PRODUCT_NAME, STANDARD_PRICE
FROM PRODUCT_V
WHERE STANDARD_PRICE < 275;
36
Product table
37
SELECT Example using Alias
• Alias is an alternative column or table name
SELECT CUST.CUSTOMER AS NAME,
CUST.CUSTOMER_ADDRESS
FROM CUSTOMER_V CUST
WHERE NAME = ‘Home Furnishings’;
38
SELECT Example
Using a Function
• Using the COUNT aggregate function to find totals
• Aggregate functions: SUM(), MIN(), MAX(), AVG(), COUNT()
SELECT COUNT(*) FROM ORDER_LINE_V
WHERE ORDER_ID = 1004;
39
Order line table
SELECT Example – Boolean Operators
• AND, OR, and NOT Operators for customizing conditions in WHERE clause
SELECT PRODUCT_DESCRIPTION, PRODUCT_FINISH, STANDARD_PRICE
FROM PRODUCT_V
WHERE (PRODUCT_DESCRIPTION LIKE ‘%Desk’
OR PRODUCT_DESCRIPTION LIKE ‘%Table’)
AND UNIT_PRICE > 300;
40
Note: the LIKE operator allows you to compare strings using wildcards. For example,
the % wildcard in ‘%Desk’ indicates that all strings that have any number of
characters preceding the word “Desk” will be allowed
SELECT Example –
Sorting Results with the ORDER BY Clause
• Sort the results first by STATE, and within a state by CUSTOMER_NAME
SELECT CUSTOMER_NAME, CITY, STATE
FROM CUSTOMER_V
WHERE STATE IN (‘FL’, ‘TX’, ‘CA’, ‘HI’)
ORDER BY STATE, CUSTOMER_NAME;
41
Note: the IN operator in this example allows you to include rows whose STATE value
is either FL, TX, CA, or HI. It is more efficient than separate OR conditions
SELECT Example –
Categorizing Results Using the GROUP BY Clause
SELECT STATE, COUNT(STATE)
FROM CUSTOMER_V
GROUP BY STATE;
Note: you can use single-value fields with aggregate functions if they are
included in the GROUP BY clause
42
Customer table
SELECT Example –
Qualifying Results by Categories Using the HAVING
Clause
• For use with GROUP BY
SELECT STATE, COUNT(STATE)
FROM CUSTOMER_V
GROUP BY STATE
HAVING COUNT(STATE) > 1;
Like a WHERE clause, but it operates on groups (categories), not on
individual rows. Here, only those groups with total numbers greater than
1 will be included in final result
43
For More Information click below link:
Follow Us on:
http://vibranttechnologies.co.in/sql-server-classes-in-mumbai.html
Thank You !!!

More Related Content

What's hot

Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Punjab University
 
Advanced Sql Training
Advanced Sql TrainingAdvanced Sql Training
Advanced Sql Trainingbixxman
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)Sabana Maharjan
 
Sql queries presentation
Sql queries presentationSql queries presentation
Sql queries presentationNITISH KUMAR
 
SQL Queries Information
SQL Queries InformationSQL Queries Information
SQL Queries InformationNishant Munjal
 
SQL Tutorial - Basic Commands
SQL Tutorial - Basic CommandsSQL Tutorial - Basic Commands
SQL Tutorial - Basic Commands1keydata
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredDanish Mehraj
 
Introduction of sql server indexing
Introduction of sql server indexingIntroduction of sql server indexing
Introduction of sql server indexingMahabubur Rahaman
 
Writing Basic SQL SELECT Statements
Writing Basic SQL SELECT StatementsWriting Basic SQL SELECT Statements
Writing Basic SQL SELECT StatementsSalman Memon
 
Normalization in SQL | Edureka
Normalization in SQL | EdurekaNormalization in SQL | Edureka
Normalization in SQL | EdurekaEdureka!
 
Oracle database 12c sql worshop 1 student guide vol 2
Oracle database 12c sql worshop 1 student guide vol 2Oracle database 12c sql worshop 1 student guide vol 2
Oracle database 12c sql worshop 1 student guide vol 2Otto Paiz
 

What's hot (20)

Introduction to-sql
Introduction to-sqlIntroduction to-sql
Introduction to-sql
 
Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)
 
SQL Overview
SQL OverviewSQL Overview
SQL Overview
 
SQL Views
SQL ViewsSQL Views
SQL Views
 
SQL
SQLSQL
SQL
 
Advanced Sql Training
Advanced Sql TrainingAdvanced Sql Training
Advanced Sql Training
 
SQL Commands
SQL Commands SQL Commands
SQL Commands
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)
 
Sql queries presentation
Sql queries presentationSql queries presentation
Sql queries presentation
 
SQL Queries Information
SQL Queries InformationSQL Queries Information
SQL Queries Information
 
SQL Tutorial - Basic Commands
SQL Tutorial - Basic CommandsSQL Tutorial - Basic Commands
SQL Tutorial - Basic Commands
 
Chapter 4 Structured Query Language
Chapter 4 Structured Query LanguageChapter 4 Structured Query Language
Chapter 4 Structured Query Language
 
8. sql
8. sql8. sql
8. sql
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
 
Introduction of sql server indexing
Introduction of sql server indexingIntroduction of sql server indexing
Introduction of sql server indexing
 
Writing Basic SQL SELECT Statements
Writing Basic SQL SELECT StatementsWriting Basic SQL SELECT Statements
Writing Basic SQL SELECT Statements
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Normalization in SQL | Edureka
Normalization in SQL | EdurekaNormalization in SQL | Edureka
Normalization in SQL | Edureka
 
Oracle database 12c sql worshop 1 student guide vol 2
Oracle database 12c sql worshop 1 student guide vol 2Oracle database 12c sql worshop 1 student guide vol 2
Oracle database 12c sql worshop 1 student guide vol 2
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 

Viewers also liked

SQL Server 2008 Overview
SQL Server 2008 OverviewSQL Server 2008 Overview
SQL Server 2008 OverviewDavid Chou
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express pptAbhinaw Kumar
 
Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...
Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...
Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...Rohan Byanjankar
 
Clase 08c ejemplo_maquina_virtual
Clase 08c ejemplo_maquina_virtualClase 08c ejemplo_maquina_virtual
Clase 08c ejemplo_maquina_virtualDemián Gutierrez
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Eduardo Castro
 
Clase 08b ejemplo_capas_cleda
Clase 08b ejemplo_capas_cledaClase 08b ejemplo_capas_cleda
Clase 08b ejemplo_capas_cledaDemián Gutierrez
 
Clase 07b patrones_diseno_ejemplo
Clase 07b patrones_diseno_ejemploClase 07b patrones_diseno_ejemplo
Clase 07b patrones_diseno_ejemploDemián Gutierrez
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp PresentationVishwa Mohan
 
MS Word Chapter 1 PPT
MS Word Chapter 1 PPTMS Word Chapter 1 PPT
MS Word Chapter 1 PPTprsmith72
 
Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...Antonios Chatzipavlis
 
Clase 08a estilos_arquitectonicos
Clase 08a estilos_arquitectonicosClase 08a estilos_arquitectonicos
Clase 08a estilos_arquitectonicosDemián Gutierrez
 
Manual de jhon dere serie 300
Manual de jhon dere serie 300Manual de jhon dere serie 300
Manual de jhon dere serie 300Andy Chunga
 
Automotiveairconditioningtrainingmanual
Automotiveairconditioningtrainingmanual Automotiveairconditioningtrainingmanual
Automotiveairconditioningtrainingmanual abrahamjospher
 
SQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New FeaturesSQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New FeaturesJohn Martin
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL DatabaseJames Serra
 

Viewers also liked (20)

T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
 
SQL and E R diagram
SQL and E R diagramSQL and E R diagram
SQL and E R diagram
 
SQL- Introduction to PL/SQL
SQL- Introduction to  PL/SQLSQL- Introduction to  PL/SQL
SQL- Introduction to PL/SQL
 
SQL Server 2008 Overview
SQL Server 2008 OverviewSQL Server 2008 Overview
SQL Server 2008 Overview
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express ppt
 
Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...
Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...
Concept of Structured Query Language (SQL) in SQL server as well as MySql. BB...
 
Clase 08c ejemplo_maquina_virtual
Clase 08c ejemplo_maquina_virtualClase 08c ejemplo_maquina_virtual
Clase 08c ejemplo_maquina_virtual
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2
 
Clase 08b ejemplo_capas_cleda
Clase 08b ejemplo_capas_cledaClase 08b ejemplo_capas_cleda
Clase 08b ejemplo_capas_cleda
 
Clase 07b patrones_diseno_ejemplo
Clase 07b patrones_diseno_ejemploClase 07b patrones_diseno_ejemplo
Clase 07b patrones_diseno_ejemplo
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp Presentation
 
Clase 07a patrones_diseno
Clase 07a patrones_disenoClase 07a patrones_diseno
Clase 07a patrones_diseno
 
MS Word Chapter 1 PPT
MS Word Chapter 1 PPTMS Word Chapter 1 PPT
MS Word Chapter 1 PPT
 
Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...Tips to install and manage always on availability groups in sql server 2012 &...
Tips to install and manage always on availability groups in sql server 2012 &...
 
PHP - Introduction to Advanced SQL
PHP - Introduction to Advanced SQLPHP - Introduction to Advanced SQL
PHP - Introduction to Advanced SQL
 
Clase 08a estilos_arquitectonicos
Clase 08a estilos_arquitectonicosClase 08a estilos_arquitectonicos
Clase 08a estilos_arquitectonicos
 
Manual de jhon dere serie 300
Manual de jhon dere serie 300Manual de jhon dere serie 300
Manual de jhon dere serie 300
 
Automotiveairconditioningtrainingmanual
Automotiveairconditioningtrainingmanual Automotiveairconditioningtrainingmanual
Automotiveairconditioningtrainingmanual
 
SQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New FeaturesSQL Server 2016 AlwaysOn Availability Groups New Features
SQL Server 2016 AlwaysOn Availability Groups New Features
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL Database
 

Similar to Sql server T-sql basics ppt-3

chap 7.ppt(sql).ppt
chap 7.ppt(sql).pptchap 7.ppt(sql).ppt
chap 7.ppt(sql).pptarjun431527
 
The Database Environment Chapter 7
The Database Environment Chapter 7The Database Environment Chapter 7
The Database Environment Chapter 7Jeanie Arnoco
 
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...Jürgen Ambrosi
 
Sql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices ISql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices ICarlos Oliveira
 
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdfNOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdfcookie1969
 
TSQL in SQL Server 2012
TSQL in SQL Server 2012TSQL in SQL Server 2012
TSQL in SQL Server 2012Eduardo Castro
 
Ground Breakers Romania: Explain the explain_plan
Ground Breakers Romania: Explain the explain_planGround Breakers Romania: Explain the explain_plan
Ground Breakers Romania: Explain the explain_planMaria Colgan
 
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxBhupendraShahi6
 
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSabrinaShanta2
 
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSaiMiryala1
 

Similar to Sql server T-sql basics ppt-3 (20)

Chap 7
Chap 7Chap 7
Chap 7
 
chap 7.ppt(sql).ppt
chap 7.ppt(sql).pptchap 7.ppt(sql).ppt
chap 7.ppt(sql).ppt
 
SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data   SQL Inteoduction to SQL manipulating of data
SQL Inteoduction to SQL manipulating of data
 
SQL(database)
SQL(database)SQL(database)
SQL(database)
 
The Database Environment Chapter 7
The Database Environment Chapter 7The Database Environment Chapter 7
The Database Environment Chapter 7
 
Ch 9 S Q L
Ch 9  S Q LCh 9  S Q L
Ch 9 S Q L
 
Review of SQL
Review of SQLReview of SQL
Review of SQL
 
Rdbms day3
Rdbms day3Rdbms day3
Rdbms day3
 
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
 
SQL
SQLSQL
SQL
 
MS SQL Server
MS SQL ServerMS SQL Server
MS SQL Server
 
Sql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices ISql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices I
 
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdfNOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
NOCOUG_201311_Fine_Tuning_Execution_Plans.pdf
 
TSQL in SQL Server 2012
TSQL in SQL Server 2012TSQL in SQL Server 2012
TSQL in SQL Server 2012
 
Ground Breakers Romania: Explain the explain_plan
Ground Breakers Romania: Explain the explain_planGround Breakers Romania: Explain the explain_plan
Ground Breakers Romania: Explain the explain_plan
 
Lab
LabLab
Lab
 
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
 
Sql
SqlSql
Sql
 
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
 
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptxSQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
 

More from Vibrant Technologies & Computers

Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Vibrant Technologies & Computers
 

More from Vibrant Technologies & Computers (20)

Buisness analyst business analysis overview ppt 5
Buisness analyst business analysis overview ppt 5Buisness analyst business analysis overview ppt 5
Buisness analyst business analysis overview ppt 5
 
SQL Introduction to displaying data from multiple tables
SQL Introduction to displaying data from multiple tables  SQL Introduction to displaying data from multiple tables
SQL Introduction to displaying data from multiple tables
 
SQL- Introduction to MySQL
SQL- Introduction to MySQLSQL- Introduction to MySQL
SQL- Introduction to MySQL
 
SQL- Introduction to SQL database
SQL- Introduction to SQL database SQL- Introduction to SQL database
SQL- Introduction to SQL database
 
ITIL - introduction to ITIL
ITIL - introduction to ITILITIL - introduction to ITIL
ITIL - introduction to ITIL
 
Salesforce - Introduction to Security & Access
Salesforce -  Introduction to Security & Access Salesforce -  Introduction to Security & Access
Salesforce - Introduction to Security & Access
 
Data ware housing- Introduction to olap .
Data ware housing- Introduction to  olap .Data ware housing- Introduction to  olap .
Data ware housing- Introduction to olap .
 
Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.
 
Data ware housing- Introduction to data ware housing
Data ware housing- Introduction to data ware housingData ware housing- Introduction to data ware housing
Data ware housing- Introduction to data ware housing
 
Salesforce - classification of cloud computing
Salesforce - classification of cloud computingSalesforce - classification of cloud computing
Salesforce - classification of cloud computing
 
Salesforce - cloud computing fundamental
Salesforce - cloud computing fundamentalSalesforce - cloud computing fundamental
Salesforce - cloud computing fundamental
 
SQL- Introduction to advanced sql concepts
SQL- Introduction to  advanced sql conceptsSQL- Introduction to  advanced sql concepts
SQL- Introduction to advanced sql concepts
 
SQL- Introduction to SQL Set Operations
SQL- Introduction to SQL Set OperationsSQL- Introduction to SQL Set Operations
SQL- Introduction to SQL Set Operations
 
Sas - Introduction to designing the data mart
Sas - Introduction to designing the data martSas - Introduction to designing the data mart
Sas - Introduction to designing the data mart
 
Sas - Introduction to working under change management
Sas - Introduction to working under change managementSas - Introduction to working under change management
Sas - Introduction to working under change management
 
SAS - overview of SAS
SAS - overview of SASSAS - overview of SAS
SAS - overview of SAS
 
Teradata - Architecture of Teradata
Teradata - Architecture of TeradataTeradata - Architecture of Teradata
Teradata - Architecture of Teradata
 
Teradata - Restoring Data
Teradata - Restoring Data Teradata - Restoring Data
Teradata - Restoring Data
 
Datastage database design and data modeling ppt 4
Datastage database design and data modeling ppt 4Datastage database design and data modeling ppt 4
Datastage database design and data modeling ppt 4
 
Sql server select queries ppt 18
Sql server select queries ppt 18Sql server select queries ppt 18
Sql server select queries ppt 18
 

Recently uploaded

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Recently uploaded (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Sql server T-sql basics ppt-3

  • 1. 1
  • 2. 2 Introduction To MS SQL Server
  • 3. Systems Development Life Cycle 3 Project Identification and Selection Project Initiation and Planning Analysis Physical Design Implementation Maintenance Logical Design Enterprise modeling Conceptual data modeling Logical database design Physical database design and definition Database implementation Database maintenance Database Development ProcessDatabase Development Process
  • 4. Part Four: Implementation • Chapter 7 – Introduction to SQL • Chapter 8 – Advanced SQL • Chapter 9 – Client/Server Environment • Chapter 10 – Internet • Chapter 11 – Data Warehousing 4
  • 5. Overview • Define a database using SQL data definition language • Work with Views • Write single table queries • Establish referential integrity 5
  • 6. SQL Overview • Structured Query Language • The standard for relational database management systems (RDBMS) • SQL-92 and SQL-99 Standards – Purpose: – Specify syntax/semantics for data definition and manipulation – Define data structures – Enable portability – Specify minimal (level 1) and complete (level 2) standards – Allow for later growth/enhancement to standard 6
  • 7. 7
  • 8. SQL Environment • Catalog – A set of schemas that constitute the description of a database • Schema – The structure that contains descriptions of objects created by a user (base tables, views, constraints) • Data Definition Language (DDL) – Commands that define a database, including creating, altering, and dropping tables and establishing constraints • Data Manipulation Language (DML) – Commands that maintain and query a database • Data Control Language (DCL) – Commands that control a database, including administering privileges and committing data 8
  • 9. SQL Data types (from Oracle 9i) • String types – CHAR(n) – fixed-length character data, n characters long Maximum length = 2000 bytes – VARCHAR2(n) – variable length character data, maximum 4000 bytes – LONG – variable-length character data, up to 4GB. Maximum 1 per table • Numeric types – NUMBER(p,q) – general purpose numeric data type – INTEGER(p) – signed integer, p digits wide – FLOAT(p) – floating point in scientific notation with p binary digits precision • Date/time type – DATE – fixed-length date/time in dd-mm-yy form 9
  • 10. 10
  • 11. SQL Database Definition • Data Definition Language (DDL) • Major CREATE statements: – CREATE SCHEMA – defines a portion of the database owned by a particular user – CREATE TABLE – defines a table and its columns – CREATE VIEW – defines a logical table from one or more views • Other CREATE statements: CHARACTER SET, COLLATION, TRANSLATION, ASSERTION, DOMAIN 11
  • 12. The following slides create tables for this enterprise data model 12
  • 14. 14 Non-nullable specification Identifying primary key Primary keys can never have NULL values Create PRODUCT table
  • 15. 15 Non-nullable specifications Primary key Some primary keys are composite – composed of multiple attributes
  • 17. 17 Identifying foreign keys and establishing relationships Primary key of parent table Foreign key of dependent table
  • 18. Data Integrity Controls • Referential integrity – constraint that ensures that foreign key values of a table must match primary key values of a related table in 1:M relationships • Restricting: – Deletes of primary records – Updates of primary records – Inserts of dependent records 18
  • 19. 19
  • 20. Using and Defining Views • Views provide users controlled access to tables • Base Table – table containing the raw data • Dynamic View – A “virtual table” created dynamically upon request by a user – No data actually stored; instead data from base table made available to user – Based on SQL SELECT statement on base tables or other views • Materialized View – Copy or replication of data – Data actually stored – Must be refreshed periodically to match the corresponding base tables 20
  • 21. Sample CREATE VIEW CREATE VIEW EXPENSIVE_STUFF_V AS SELECT PRODUCT_ID, PRODUCT_NAME, UNIT_PRICE FROM PRODUCT_T WHERE UNIT_PRICE >300 WITH CHECK_OPTION; 21 View has a name View is based on a SELECT statement CHECK_OPTION works only for updateable views and prevents updates that would create rows not included in the view
  • 22. Advantages of Views • Simplify query commands • Assist with data security (but don't rely on views for security, there are more important security measures) • Enhance programming productivity • Contain most current base table data • Use little storage space • Provide customized view for user • Establish physical data independence 22
  • 23. Disadvantages of Views • Use processing time each time view is referenced • May or may not be directly updateable 23
  • 24. Create Four Views CREATE VIEW CUSTOMER_V AS SELECT * FROM CUSTOMER_T; CREATE VIEW ORDER_V AS SELECT * FROM ORDER_T; CREATE VIEW ORDER_LINE_V AS SELECT * FROM ORDER_LINE_T; CREATE VIEW PRODUCT_V AS SELECT * FROM PRODUCT_T; ‘*’ is the wildcard 24
  • 25. Changing and Removing Tables • ALTER TABLE statement allows you to change column specifications: – ALTER TABLE CUSTOMER_T ADD (TYPE VARCHAR(2)) • DROP TABLE statement allows you to remove tables from your schema: – DROP TABLE CUSTOMER_T 25
  • 26. Schema Definition • Control processing/storage efficiency: – Choice of indexes – File organizations for base tables – File organizations for indexes – Data clustering – Statistics maintenance • Creating indexes – Speed up random/sequential access to base table data – Example • CREATE INDEX NAME_IDX ON CUSTOMER_T(CUSTOMER_NAME) • This makes an index for the CUSTOMER_NAME field of the CUSTOMER_T table 26
  • 27. Insert Statement • Adds data to a table • Inserting a record with all fields – INSERT INTO CUSTOMER_T VALUES (001, ‘Contemporary Casuals’, 1355 S. Himes Blvd.’, ‘Gainesville’, ‘FL’, 32601); • Inserting a record with specified fields – INSERT INTO PRODUCT_T (PRODUCT_ID, PRODUCT_DESCRIPTION, PRODUCT_FINISH, STANDARD_PRICE, PRODUCT_ON_HAND) VALUES (1, ‘End Table’, ‘Cherry’, 175, 8); • Inserting records from another table – INSERT INTO CA_CUSTOMER_T SELECT * FROM CUSTOMER_T WHERE STATE = ‘CA’; 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. 31
  • 32. Delete Statement • Removes rows from a table • Delete certain rows – DELETE FROM CUSTOMER_T WHERE STATE = ‘HI’; • Delete all rows – DELETE FROM CUSTOMER_T; 32
  • 33. Update Statement • Modifies data in existing rows UPDATE PRODUCT_T SET UNIT_PRICE = 775 WHERE PRODUCT_ID = 7; 33
  • 34. SELECT Statement • Used for queries on single or multiple tables • Clauses of the SELECT statement: – SELECT : List the columns (and expressions) that should be returned from the query – FROM : Indicate the table(s) or view(s) from which data will be obtained – WHERE : Indicate the conditions under which a row will be included in the result – GROUP BY : Indicate columns to group the results – HAVING : Indicate the conditions under which a group will be included – ORDER BY : Sorts the result according to specified columns 34
  • 35. 35 Figure : SQL statement processing order
  • 36. SELECT Example • Find products with standard price less than $275 SELECT PRODUCT_NAME, STANDARD_PRICE FROM PRODUCT_V WHERE STANDARD_PRICE < 275; 36 Product table
  • 37. 37
  • 38. SELECT Example using Alias • Alias is an alternative column or table name SELECT CUST.CUSTOMER AS NAME, CUST.CUSTOMER_ADDRESS FROM CUSTOMER_V CUST WHERE NAME = ‘Home Furnishings’; 38
  • 39. SELECT Example Using a Function • Using the COUNT aggregate function to find totals • Aggregate functions: SUM(), MIN(), MAX(), AVG(), COUNT() SELECT COUNT(*) FROM ORDER_LINE_V WHERE ORDER_ID = 1004; 39 Order line table
  • 40. SELECT Example – Boolean Operators • AND, OR, and NOT Operators for customizing conditions in WHERE clause SELECT PRODUCT_DESCRIPTION, PRODUCT_FINISH, STANDARD_PRICE FROM PRODUCT_V WHERE (PRODUCT_DESCRIPTION LIKE ‘%Desk’ OR PRODUCT_DESCRIPTION LIKE ‘%Table’) AND UNIT_PRICE > 300; 40 Note: the LIKE operator allows you to compare strings using wildcards. For example, the % wildcard in ‘%Desk’ indicates that all strings that have any number of characters preceding the word “Desk” will be allowed
  • 41. SELECT Example – Sorting Results with the ORDER BY Clause • Sort the results first by STATE, and within a state by CUSTOMER_NAME SELECT CUSTOMER_NAME, CITY, STATE FROM CUSTOMER_V WHERE STATE IN (‘FL’, ‘TX’, ‘CA’, ‘HI’) ORDER BY STATE, CUSTOMER_NAME; 41 Note: the IN operator in this example allows you to include rows whose STATE value is either FL, TX, CA, or HI. It is more efficient than separate OR conditions
  • 42. SELECT Example – Categorizing Results Using the GROUP BY Clause SELECT STATE, COUNT(STATE) FROM CUSTOMER_V GROUP BY STATE; Note: you can use single-value fields with aggregate functions if they are included in the GROUP BY clause 42 Customer table
  • 43. SELECT Example – Qualifying Results by Categories Using the HAVING Clause • For use with GROUP BY SELECT STATE, COUNT(STATE) FROM CUSTOMER_V GROUP BY STATE HAVING COUNT(STATE) > 1; Like a WHERE clause, but it operates on groups (categories), not on individual rows. Here, only those groups with total numbers greater than 1 will be included in final result 43
  • 44. For More Information click below link: Follow Us on: http://vibranttechnologies.co.in/sql-server-classes-in-mumbai.html Thank You !!!