SlideShare a Scribd company logo
Return the absolute value of a number
The ABS() function returns the absolute (positive) value of a number.
Syntax-
ABS(number)
ABS() FUNCTION
ABS() function
The My SQL ACOS function returns the arc cosine of a number.
The function returns NULL when the value of the number is not between
the range of -1 and 1.
Syntax-
ACOS( number )
ACOS() function
ACOS() function
.
ACOS() function
ASIN() Function
Returns the arc sine of a number
The specified number must be between -1 to 1, otherwise this function
returns null
Syntax-
ASIN(number)
ASIN() Function
ASIN() Function
ATAN() Function
Return the arc tangent of a number:
The ATAN2() function returns the arc tangent of one or two numbers.
Syntax-
ATAN(number)
or
ATAN2(a,b)
ATAN() Function
.
ATAN2() Function
.
AVG() Function
The AVG() function returns the average value of an expression.
NULL values are ignored.
Syntax-
AVG(expression)
AVG() Function
CEIL() Function
Returns the smallest integer value that is >= to a number.
This function is equal to the CEILING() function.
Syntax-
CEIL(number)
CEIL() Function
COS() Function
Return the cosine of a number
Syntax-
COS(number)
COS() Function
COS() Function
COT() Function
Return the cotangent of a number
Syntax-
COT(number)
COT() Function
COT() Function
COUNT() Function
The COUNT() function returns the number of records returned by a select
query.
NULL values are not counted.
 
Syntax-
COUNT(expression)
COUNT() Function
DEGREES() Function
The DEGREES() function converts a value in radians to degrees.
 
Syntax-
DEGREES(number)
DEGREES() Function
DEGREES() Function
DIV() Function
The DIV function is used for integer division (x is divided by y).
 An integer value is returned.
 
Syntax-
x DIV y
DIV() Function
EXP() Function
The EXP() function returns e raised to the power of the specified number.
The constant e (2.718281...), is the base of natural logarithms.
Syntax-
EXP(number)
EXP() Function
FLOOR() Function
The FLOOR() function returns the largest integer value that is smaller than 
or equal to a number.
Syntax-
FLOOR(number)
FLOOR() Function
GREATEST() Function
The GREATEST() function returns the greatest value of the list of 
Arguments.
Syntax-
GREATEST(arg1, arg2, arg3, ...)
GREATEST() Function
LEAST() Function
The LEAST() function returns the smallest value of the list of arguments.
Syntax-
LEAST(arg1, arg2, arg3, ...)
LEAST() Function
LN() Function
The LN() function returns the natural logarithm of a number.
Syntax-
LN(number)
LN() Function
LOG() Function
The LOG() function returns the natural logarithm of a specified number, or 
the logarithm of the number to the specified base.
Syntax-
LOG(number)
           or
        LOG(base, number)
LOG() Function
LOG() Function
LOG10() Function
The LOG10() function returns the natural logarithm of a number to base-10.
Syntax-
LOG10(number)
LOG10() Function
LOG10() Function
LOG2() Function
The LOG2() function returns the natural logarithm of a number to base-2.
Syntax-
LOG2(number)
LOG2() Function
MAX() Function
The MAX() function returns the maximum value in a set of values.
Syntax-
MAX(expression)
MAX() Function
MIN() Function
The MIN() function returns the minimum value in a set of values.
Syntax-
MIN(expression)
MIN() Function
MOD() Function
The MOD() function returns the remainder of a number divided by another 
number.
Syntax-
MOD(x, y)
Or
x MOD y
MOD() Function
MOD() Function
PI() Function
The PI() function returns the value of PI.
Syntax-
PI()
PI() Function
POW() Function
The POW() function returns the value of a number raised to the power of 
another number.
Syntax-
POW(x, y)
POW() Function
SIGN() function
The SIGN() function returns the sign of a number.
This function will return one of the following:
If number > 0, it returns 1
If number = 0, it returns 0
If number < 0, it returns -1
Syntax-  SIGN(number) 
SIGN() function
The ASCII() function returns the ASCII value for the specific character.
TRUNCATE() function
The TRUNCATE() function truncates a number to the specified number of 
decimal places.
Syntax-  TRUNCATE(number, decimals)
TRUNCATE() function
ROUND() Function
The ROUND() function rounds a number to a specified number of decimal
places.
Syntax-
ROUND (Number, decimals)
ROUND() Function
RAND() Function
The RAND() function returns a random number between 0 (inclusive) and 1
(exclusive).
Seed - Optional. If seed is specified, it returns a repeatable sequence of
random numbers. If no seed is specified, it returns a completely random
number
Syntax-
RAND(seed)
RAND() Function
TAN() Function
The TAN() function returns the tangent of a number.
Syntax-
TAN(number)
TAN() Function
The ASCII() function returns the ASCII value for the specific character.
SIN() function
Syntax-
SIN(number)
The SIN() function returns the sine of a number.
SIN() function
.
SQRT() Function
The SQRT() function returns the square root of a number.
Syntax-
SQRT(number)
SQRT() Function
SUM() Function
The SUM() function calculates the sum of a set of values.
Syntax-
SUM(expression)
SUM() Function
The ASCII() function returns the ASCII value for the specific character.
RADIANS() function
Syntax- RADIANS(number)
The RADIANS() function converts a degree value into radians.
RADIANS() function
The ASCII() function returns the ASCII value for the specific character.
POWER() Function
The POWER() function returns the value of a number raised to the power of
another number.
Syntax- POWER (x,y)
POWER() function
Ad

Recommended

Aggregate functions in SQL.pptx
Aggregate functions in SQL.pptx
SherinRappai
 
Pointers in C
Pointers in C
Kamal Acharya
 
Data Structure (Stack)
Data Structure (Stack)
Adam Mukharil Bachtiar
 
Strings in Python
Strings in Python
nitamhaske
 
Number system of computer
Number system of computer
VishalChaudhary151
 
SQL Functions
SQL Functions
ammarbrohi
 
String function in my sql
String function in my sql
knowledgemart
 
5. stored procedure and functions
5. stored procedure and functions
Amrit Kaur
 
Array of objects.pptx
Array of objects.pptx
RAGAVIC2
 
Python programming : Arrays
Python programming : Arrays
Emertxe Information Technologies Pvt Ltd
 
Mysql datatypes
Mysql datatypes
V.V.Vanniaperumal College for Women
 
Sql operator
Sql operator
Pooja Dixit
 
Tuples in Python
Tuples in Python
DPS Ranipur Haridwar UK
 
DBMS Practical File
DBMS Practical File
Dushmanta Nath
 
Arrays in python
Arrays in python
moazamali28
 
Regular expressions in Python
Regular expressions in Python
Sujith Kumar
 
Set data structure
Set data structure
Tech_MX
 
AGGREGATE FUNCTION.pptx
AGGREGATE FUNCTION.pptx
Anusha sivakumar
 
Group By, Order By, and Aliases in SQL
Group By, Order By, and Aliases in SQL
MSB Academy
 
Introduction to database & sql
Introduction to database & sql
zahid6
 
Sql commands
Sql commands
Prof. Dr. K. Adisesha
 
Functions in python
Functions in python
colorsof
 
Array
Array
Anil Neupane
 
Introduction to-sql
Introduction to-sql
BG Java EE Course
 
SQL - DML and DDL Commands
SQL - DML and DDL Commands
Shrija Madhu
 
Dynamic memory allocation
Dynamic memory allocation
Viji B
 
Oracle Database Sequence
Oracle Database Sequence
Eryk Budi Pratama
 
Introduction to Python
Introduction to Python
Mohammed Sikander
 
V34 numeric function-c
V34 numeric function-c
Dhirendra Chauhan
 
Math and trigonometry functions
Math and trigonometry functions
aabaap
 

More Related Content

What's hot (20)

Array of objects.pptx
Array of objects.pptx
RAGAVIC2
 
Python programming : Arrays
Python programming : Arrays
Emertxe Information Technologies Pvt Ltd
 
Mysql datatypes
Mysql datatypes
V.V.Vanniaperumal College for Women
 
Sql operator
Sql operator
Pooja Dixit
 
Tuples in Python
Tuples in Python
DPS Ranipur Haridwar UK
 
DBMS Practical File
DBMS Practical File
Dushmanta Nath
 
Arrays in python
Arrays in python
moazamali28
 
Regular expressions in Python
Regular expressions in Python
Sujith Kumar
 
Set data structure
Set data structure
Tech_MX
 
AGGREGATE FUNCTION.pptx
AGGREGATE FUNCTION.pptx
Anusha sivakumar
 
Group By, Order By, and Aliases in SQL
Group By, Order By, and Aliases in SQL
MSB Academy
 
Introduction to database & sql
Introduction to database & sql
zahid6
 
Sql commands
Sql commands
Prof. Dr. K. Adisesha
 
Functions in python
Functions in python
colorsof
 
Array
Array
Anil Neupane
 
Introduction to-sql
Introduction to-sql
BG Java EE Course
 
SQL - DML and DDL Commands
SQL - DML and DDL Commands
Shrija Madhu
 
Dynamic memory allocation
Dynamic memory allocation
Viji B
 
Oracle Database Sequence
Oracle Database Sequence
Eryk Budi Pratama
 
Introduction to Python
Introduction to Python
Mohammed Sikander
 

Similar to Numeric functions in SQL | Oracle (20)

V34 numeric function-c
V34 numeric function-c
Dhirendra Chauhan
 
Math and trigonometry functions
Math and trigonometry functions
aabaap
 
Excel formula
Excel formula
Naraindas Parhyar
 
Unit 3 - Function & Grouping,Joins and Set Operations in ORACLE
Unit 3 - Function & Grouping,Joins and Set Operations in ORACLE
DrkhanchanaR
 
0716330552518_DBMS_LAB_THEORY_SQL_OPERATOR (1).pdf
0716330552518_DBMS_LAB_THEORY_SQL_OPERATOR (1).pdf
sahilurrahemankhan
 
Oracle sql ppt2
Oracle sql ppt2
Madhavendra Dutt
 
Built-Functions in MySqll (Advance Database System)
Built-Functions in MySqll (Advance Database System)
khurtdhangonzales
 
Intro to tsql unit 10
Intro to tsql unit 10
Syed Asrarali
 
Built-in Functions in SQL | Numeric Functions
Built-in Functions in SQL | Numeric Functions
Raj vardhan
 
Key functions in_oracle_sql
Key functions in_oracle_sql
pgolhar
 
DBMS.pptx
DBMS.pptx
Geetha Kannan
 
What are Tableau Functions? Edureka
What are Tableau Functions? Edureka
Edureka!
 
sql functions3 (1).pdf
sql functions3 (1).pdf
Usha570012
 
Structured query language functions
Structured query language functions
Vineeta Garg
 
Oracle Sql & PLSQL Complete guide
Oracle Sql & PLSQL Complete guide
Raviteja Chowdary Adusumalli
 
Introduction to Oracle Functions--(SQL)--Abhishek Sharma
Introduction to Oracle Functions--(SQL)--Abhishek Sharma
अभिषेक शर्मा
 
003.query
003.query
Học Huỳnh Bá
 
Computer practical
Computer practical
Md Yeakub Hossain
 
Mysql
Mysql
merlin deepika
 
Mysql
Mysql
Yuvaraja Rajenderan
 
Math and trigonometry functions
Math and trigonometry functions
aabaap
 
Unit 3 - Function & Grouping,Joins and Set Operations in ORACLE
Unit 3 - Function & Grouping,Joins and Set Operations in ORACLE
DrkhanchanaR
 
0716330552518_DBMS_LAB_THEORY_SQL_OPERATOR (1).pdf
0716330552518_DBMS_LAB_THEORY_SQL_OPERATOR (1).pdf
sahilurrahemankhan
 
Built-Functions in MySqll (Advance Database System)
Built-Functions in MySqll (Advance Database System)
khurtdhangonzales
 
Intro to tsql unit 10
Intro to tsql unit 10
Syed Asrarali
 
Built-in Functions in SQL | Numeric Functions
Built-in Functions in SQL | Numeric Functions
Raj vardhan
 
Key functions in_oracle_sql
Key functions in_oracle_sql
pgolhar
 
What are Tableau Functions? Edureka
What are Tableau Functions? Edureka
Edureka!
 
sql functions3 (1).pdf
sql functions3 (1).pdf
Usha570012
 
Structured query language functions
Structured query language functions
Vineeta Garg
 
Ad

Recently uploaded (20)

Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Safe Software
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Safe Software
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Safe Software
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
 
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Safe Software
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Ad

Numeric functions in SQL | Oracle