MySQL Absolute Value

MySQL Absolute Value is used to return the absolute value of a records in
table. The keyword abs is used to return the absolute numerical value of
a records in a table. It returns you the positive magnitude number irrespective
of any positive and negative numbers.

Understand with Example

The Tutorial describes you to find the Absolute Value in MySQL. To understand
the example we use select query to run, that returns you the set of records from
table 'emp_table'.

In this example we use abs keywords to find the absolute value in the sql
query. In the given table the column emp_value define float datatype. The select
abs(emp_value) returns the numerical value without regards to its sign.