SlideShare a Scribd company logo
1 of 6
SPECIAL OPERATORS




                    1
Special Operators



   BETWEEN…AND operator

Determines whether the value of an
expression falls within a specified range
of values.


Syntax:
 expr [NOT] BETWEEN value1 AND value2
                                                     2
Special Operators



   IN operator

Determines whether the value of an
expression is equal to any of several
values in a specified list.


Syntax:
 expr [NOT] IN (value1, value2, …)
                                                         3
Special Operators



IS NULL operator

Checks for missing data or null values.


 Syntax:
  expr IS [NOT] NULL



                                                     4
Special Operators



  LIKE operator

Used in conjunction with wildcard
characters to match character string
patterns.

 Syntax:
  expr [NOT] LIKE ‘string pattern’
                                                         5
Special Operators



Wildcard Characters


% - used to match zero or more
    characters.
_ - used to match a single character.




                                                   6

More Related Content

What's hot

SQL Functions and Operators
SQL Functions and OperatorsSQL Functions and Operators
SQL Functions and OperatorsMohan Kumar.R
 
Constraints In Sql
Constraints In SqlConstraints In Sql
Constraints In SqlAnurag
 
Values and Data types in python
Values and Data types in pythonValues and Data types in python
Values and Data types in pythonJothi Thilaga P
 
Sql queries questions and answers
Sql queries questions and answersSql queries questions and answers
Sql queries questions and answersMichael Belete
 
Triggers in plsql
Triggers in plsqlTriggers in plsql
Triggers in plsqlArun Sial
 
Aggregating Data Using Group Functions
Aggregating Data Using Group FunctionsAggregating Data Using Group Functions
Aggregating Data Using Group FunctionsSalman Memon
 
Addressing modes of 80386
Addressing modes of 80386Addressing modes of 80386
Addressing modes of 80386PDFSHARE
 
Ppt on Linked list,stack,queue
Ppt on Linked list,stack,queuePpt on Linked list,stack,queue
Ppt on Linked list,stack,queueSrajan Shukla
 
Introduction to Python - Part Two
Introduction to Python - Part TwoIntroduction to Python - Part Two
Introduction to Python - Part Twoamiable_indian
 
Data Structures in Python
Data Structures in PythonData Structures in Python
Data Structures in PythonDevashish Kumar
 
Implementation Of String Functions In C
Implementation Of String Functions In CImplementation Of String Functions In C
Implementation Of String Functions In CFazila Sadia
 
Assembly language 8086
Assembly language 8086Assembly language 8086
Assembly language 8086John Cutajar
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Jargalsaikhan Alyeksandr
 
Group By, Having Clause and Order By clause
Group By, Having Clause and Order By clause Group By, Having Clause and Order By clause
Group By, Having Clause and Order By clause Deepam Aggarwal
 

What's hot (20)

SQL Functions and Operators
SQL Functions and OperatorsSQL Functions and Operators
SQL Functions and Operators
 
Stack and Queue
Stack and Queue Stack and Queue
Stack and Queue
 
Constraints In Sql
Constraints In SqlConstraints In Sql
Constraints In Sql
 
2.0 sql data types for my sql, sql server
2.0 sql data types for my sql, sql server2.0 sql data types for my sql, sql server
2.0 sql data types for my sql, sql server
 
SQL
SQLSQL
SQL
 
Values and Data types in python
Values and Data types in pythonValues and Data types in python
Values and Data types in python
 
Sql queries questions and answers
Sql queries questions and answersSql queries questions and answers
Sql queries questions and answers
 
Triggers in plsql
Triggers in plsqlTriggers in plsql
Triggers in plsql
 
Pointers
PointersPointers
Pointers
 
Aggregating Data Using Group Functions
Aggregating Data Using Group FunctionsAggregating Data Using Group Functions
Aggregating Data Using Group Functions
 
Addressing modes of 80386
Addressing modes of 80386Addressing modes of 80386
Addressing modes of 80386
 
DATABASE CONSTRAINTS
DATABASE CONSTRAINTSDATABASE CONSTRAINTS
DATABASE CONSTRAINTS
 
Ppt on Linked list,stack,queue
Ppt on Linked list,stack,queuePpt on Linked list,stack,queue
Ppt on Linked list,stack,queue
 
Introduction to Python - Part Two
Introduction to Python - Part TwoIntroduction to Python - Part Two
Introduction to Python - Part Two
 
Les03 Single Row Function
Les03 Single Row FunctionLes03 Single Row Function
Les03 Single Row Function
 
Data Structures in Python
Data Structures in PythonData Structures in Python
Data Structures in Python
 
Implementation Of String Functions In C
Implementation Of String Functions In CImplementation Of String Functions In C
Implementation Of String Functions In C
 
Assembly language 8086
Assembly language 8086Assembly language 8086
Assembly language 8086
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)
 
Group By, Having Clause and Order By clause
Group By, Having Clause and Order By clause Group By, Having Clause and Order By clause
Group By, Having Clause and Order By clause
 

Viewers also liked (20)

B trees dbms
B trees dbmsB trees dbms
B trees dbms
 
SQL
SQLSQL
SQL
 
Set operators
Set  operatorsSet  operators
Set operators
 
Unit 1 basic concepts of DBMS
Unit 1 basic concepts of DBMSUnit 1 basic concepts of DBMS
Unit 1 basic concepts of DBMS
 
Comenzi fox pro
Comenzi fox proComenzi fox pro
Comenzi fox pro
 
Sql operators & functions 3
Sql operators & functions 3Sql operators & functions 3
Sql operators & functions 3
 
Sql Basics And Advanced
Sql Basics And AdvancedSql Basics And Advanced
Sql Basics And Advanced
 
SQL : introduction
SQL : introductionSQL : introduction
SQL : introduction
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Docking from a z in visual fox pro 9
Docking from a z in visual fox pro 9Docking from a z in visual fox pro 9
Docking from a z in visual fox pro 9
 
Comenzi fox pro
Comenzi fox proComenzi fox pro
Comenzi fox pro
 
Visual foxpro
Visual foxproVisual foxpro
Visual foxpro
 
Fox pro 2.6
Fox pro 2.6Fox pro 2.6
Fox pro 2.6
 
Visual fox pro manual del programador
Visual fox pro manual del programadorVisual fox pro manual del programador
Visual fox pro manual del programador
 
como crear un proyecto en visual fox
como crear un proyecto en visual foxcomo crear un proyecto en visual fox
como crear un proyecto en visual fox
 
Guía de Visual Fox Pro 9.0
Guía de Visual Fox Pro 9.0Guía de Visual Fox Pro 9.0
Guía de Visual Fox Pro 9.0
 
Imp notes dbms
Imp notes dbmsImp notes dbms
Imp notes dbms
 
Formularios En Visual Fox Pro
Formularios En Visual Fox ProFormularios En Visual Fox Pro
Formularios En Visual Fox Pro
 

More from Rosie Jane Enomar

More from Rosie Jane Enomar (7)

IEEE 802 standards
IEEE 802 standardsIEEE 802 standards
IEEE 802 standards
 
Chapter 6 - Networking
Chapter 6 - NetworkingChapter 6 - Networking
Chapter 6 - Networking
 
Software development
Software developmentSoftware development
Software development
 
Java Inheritance
Java InheritanceJava Inheritance
Java Inheritance
 
Aggregate functions
Aggregate functionsAggregate functions
Aggregate functions
 
Juncture
JunctureJuncture
Juncture
 
Types of Reaction
Types of ReactionTypes of Reaction
Types of Reaction
 

Special operators in Database

  • 2. Special Operators BETWEEN…AND operator Determines whether the value of an expression falls within a specified range of values. Syntax: expr [NOT] BETWEEN value1 AND value2 2
  • 3. Special Operators IN operator Determines whether the value of an expression is equal to any of several values in a specified list. Syntax: expr [NOT] IN (value1, value2, …) 3
  • 4. Special Operators IS NULL operator Checks for missing data or null values. Syntax: expr IS [NOT] NULL 4
  • 5. Special Operators LIKE operator Used in conjunction with wildcard characters to match character string patterns. Syntax: expr [NOT] LIKE ‘string pattern’ 5
  • 6. Special Operators Wildcard Characters % - used to match zero or more characters. _ - used to match a single character. 6