Abs() and Avg() Function in MS Access Last Updated : 08 Sep, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report 1. Abs() Function : In MS Access, the abs() function returns a positive (absolute) number. In this function, either a positive number or a negative number is passed, and it returns the absolute of that number. It takes a number as a parameter and it returns the positive value of that number. Syntax : Abs(number) Example - SELECT Abs(-240.7) AS AbsNum; Output - AbsNum 240.7 Example - SELECT Abs(120.89) AS AbsNum; Output - AbsNum 120.89 2. Avg() Function : In MS Access, the Avg() function is used for calculating the average of the numbers. In this function, a set of numbers/expression is passed and it returns the average of the input numbers. Note - If the null values are given then it will be ignored. Syntax : Avg(expression) Table - Stu_Details TESTID USERNAME MARKS 101 GFG_1 47 102 GFG_2 78 103 GFG_3 67 Example-1: SELECT Avg(MARKS) AS Average FROM Stu_Details; Output - Average 64 Example-2: SELECT * FROM Stu_Details WHERE MARKS > (SELECT Avg(MARKS) FROM Stu_Details); Output - TESTID USERNAME MARKS 102 GFG_2 78 103 GFG_3 67 Comment More infoAdvertise with us Next Article Abs() and Avg() Function in MS Access V vipinyadav15799 Follow Improve Article Tags : SQL DBMS-SQL Similar Reads Atn() and Cos() Function in MS Access Atn() Function : In MS Access, The Atn() function returns the arctangent of a number. It takes a number as a parameter and it will return the arc tangent of that number. It will help to perform the mathematical operation of trigonometry. Syntax : Atn(number) Example1 - SELECT Atn(50) AS AtnNum; Outp 1 min read ABS() and AVG() function in SQLite 1. ABS() Function :ABS(X) is a math function used to get the absolute value of a number. Syntax - ABS(X) The ABS(X) function takes a numeric argument X and returns its magnitude. SELECT ABS(-6); Output - 6 If the argument X is a blob or string, the function gives 0.0 as the return value SELECT ABS(' 2 min read DSum() and DAvg() Functions MS Access In Microsoft Access, domain aggregate functions like DSum() and DAvg() provide a powerful way to calculate summaries of data across tables or queries. These functions allow users to perform calculations dynamically based on specific criteria, making them particularly useful in forms, reports, and qu 4 min read Fix() and Format() Function in MS Access 1. Fix() Function : In MS Access, the fix() function returns the integer part of a number. In this function, a number will be pass as a parameter and it will return the integer part of that number. Syntax : Fix(number) Example-1 : SELECT Fix(-75.43) AS FixNum; Output - FixNum -75 Example-2 : SELECT 2 min read Val() and Sum() Function in MS Access 1. Val() Function : val() function returns the number found in the string. In this function, it takes a string as a parameter and it will return the number in the string. Note : This function will stop reading when the first non-numeric character comes. Syntax : Val(string) Example-1 : SELECT Val("2 1 min read Like