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

Queue - Data Structure - Notes
Queue - Data Structure - NotesQueue - Data Structure - Notes
Queue - Data Structure - NotesOmprakash Chauhan
 
Stack using Linked List
Stack using Linked ListStack using Linked List
Stack using Linked ListSayantan Sur
 
Restricting and Sorting Data - Oracle Data Base
Restricting and Sorting Data - Oracle Data BaseRestricting and Sorting Data - Oracle Data Base
Restricting and Sorting Data - Oracle Data BaseSalman Memon
 
String Manipulation in Python
String Manipulation in PythonString Manipulation in Python
String Manipulation in PythonPooja B S
 
Python dictionary
Python dictionaryPython dictionary
Python dictionaryeman lotfy
 
Java 8 - Features Overview
Java 8 - Features OverviewJava 8 - Features Overview
Java 8 - Features OverviewSergii Stets
 
ArrayList in JAVA
ArrayList in JAVAArrayList in JAVA
ArrayList in JAVASAGARDAVE29
 
Manipulation strings in c++
Manipulation strings in c++Manipulation strings in c++
Manipulation strings in c++SeethaDinesh
 
Introduction to Java 8
Introduction to Java 8Introduction to Java 8
Introduction to Java 8Knoldus Inc.
 
String in programming language in c or c++
 String in programming language  in c or c++  String in programming language  in c or c++
String in programming language in c or c++ Samsil Arefin
 
String and string buffer
String and string bufferString and string buffer
String and string bufferkamal kotecha
 
Java Stack Data Structure.pptx
Java Stack Data Structure.pptxJava Stack Data Structure.pptx
Java Stack Data Structure.pptxvishal choudhary
 
Python Data Types (1).pdf
Python Data Types (1).pdfPython Data Types (1).pdf
Python Data Types (1).pdfNehaSpillai1
 
linked list in data structure
linked list in data structure linked list in data structure
linked list in data structure shameen khan
 
Aggregating Data Using Group Functions
Aggregating Data Using Group FunctionsAggregating Data Using Group Functions
Aggregating Data Using Group FunctionsSalman Memon
 

What's hot (20)

Queue - Data Structure - Notes
Queue - Data Structure - NotesQueue - Data Structure - Notes
Queue - Data Structure - Notes
 
Stack using Linked List
Stack using Linked ListStack using Linked List
Stack using Linked List
 
stack & queue
stack & queuestack & queue
stack & queue
 
Restricting and Sorting Data - Oracle Data Base
Restricting and Sorting Data - Oracle Data BaseRestricting and Sorting Data - Oracle Data Base
Restricting and Sorting Data - Oracle Data Base
 
String Manipulation in Python
String Manipulation in PythonString Manipulation in Python
String Manipulation in Python
 
Python dictionary
Python dictionaryPython dictionary
Python dictionary
 
Java 8 - Features Overview
Java 8 - Features OverviewJava 8 - Features Overview
Java 8 - Features Overview
 
ArrayList in JAVA
ArrayList in JAVAArrayList in JAVA
ArrayList in JAVA
 
Manipulation strings in c++
Manipulation strings in c++Manipulation strings in c++
Manipulation strings in c++
 
9 processing arrays
9 processing arrays9 processing arrays
9 processing arrays
 
Introduction to Java 8
Introduction to Java 8Introduction to Java 8
Introduction to Java 8
 
String in programming language in c or c++
 String in programming language  in c or c++  String in programming language  in c or c++
String in programming language in c or c++
 
Arrays
ArraysArrays
Arrays
 
String and string buffer
String and string bufferString and string buffer
String and string buffer
 
Stack - Data Structure
Stack - Data StructureStack - Data Structure
Stack - Data Structure
 
Stacks
StacksStacks
Stacks
 
Java Stack Data Structure.pptx
Java Stack Data Structure.pptxJava Stack Data Structure.pptx
Java Stack Data Structure.pptx
 
Python Data Types (1).pdf
Python Data Types (1).pdfPython Data Types (1).pdf
Python Data Types (1).pdf
 
linked list in data structure
linked list in data structure linked list in data structure
linked list in data structure
 
Aggregating Data Using Group Functions
Aggregating Data Using Group FunctionsAggregating Data Using Group Functions
Aggregating Data Using Group Functions
 

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