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

Tree in data structure
Tree in data structureTree in data structure
Tree in data structure
ghhgj jhgh
 
class and objects
class and objectsclass and objects
class and objects
Payel Guria
 
Exception handling and templates
Exception handling and templatesException handling and templates
Exception handling and templates
farhan amjad
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVA
Abhilash Nair
 

What's hot (20)

Java - Generic programming
Java - Generic programmingJava - Generic programming
Java - Generic programming
 
Array in c++
Array in c++Array in c++
Array in c++
 
Arrays and Strings
Arrays and Strings Arrays and Strings
Arrays and Strings
 
1 - Introduction to PL/SQL
1 - Introduction to PL/SQL1 - Introduction to PL/SQL
1 - Introduction to PL/SQL
 
Linked List
Linked ListLinked List
Linked List
 
Sparse matrix and its representation data structure
Sparse matrix and its representation data structureSparse matrix and its representation data structure
Sparse matrix and its representation data structure
 
Arrays
ArraysArrays
Arrays
 
Enumerated data types in C
Enumerated data types in CEnumerated data types in C
Enumerated data types in C
 
Tree in data structure
Tree in data structureTree in data structure
Tree in data structure
 
Complexity analysis in Algorithms
Complexity analysis in AlgorithmsComplexity analysis in Algorithms
Complexity analysis in Algorithms
 
class and objects
class and objectsclass and objects
class and objects
 
Two dimensional arrays
Two dimensional arraysTwo dimensional arrays
Two dimensional arrays
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
 
Chapter 4 Structured Query Language
Chapter 4 Structured Query LanguageChapter 4 Structured Query Language
Chapter 4 Structured Query Language
 
Exception handling and templates
Exception handling and templatesException handling and templates
Exception handling and templates
 
Heaps
HeapsHeaps
Heaps
 
Non Linear Data Structures
Non Linear Data StructuresNon Linear Data Structures
Non Linear Data Structures
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVA
 
concept of Array, 1D & 2D array
concept of Array, 1D & 2D arrayconcept of Array, 1D & 2D array
concept of Array, 1D & 2D array
 
Linked List - Insertion & Deletion
Linked List - Insertion & DeletionLinked List - Insertion & Deletion
Linked List - Insertion & Deletion
 

Viewers also liked

Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
sameerraaj
 
Visual fox pro manual del programador
Visual fox pro manual del programadorVisual fox pro manual del programador
Visual fox pro manual del programador
agricolamontalvo
 

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 (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