--:--









Quiz for Numeric Functions

Course: SQL | Subject: SQL | Topic: SQL Functions



Logo

Q1: Which SQL function returns the smallest integer greater than or equal to a number?

Logo

Q2: Which function returns the absolute value of a number?

Logo

Q3: Which SQL function is used to round a number to the nearest integer?

Logo

Q4: What does the MOD(n, m) function return?

Logo

Q5: Which function returns the smallest integer greater than or equal to a number?

Logo

Q6: What does the FLOOR() function do?

Logo

Q7: Which function truncates a number to a specified decimal place without rounding?

Logo

Q8: Which function returns the square root of a number?

Logo

Q9: How to return the power of a number in SQL?

Logo

Q10: Which function returns the exponential value of a number?

Logo

Q11: Which SQL function returns the natural logarithm of a number?

Logo

Q12: Which function returns base-10 logarithm in SQL?

Logo

Q13: What does the SIGN() function return?

Logo

Q14: Which function returns the cube root of a number in PostgreSQL?

Logo

Q15: Which function returns a random value between 0 and 1?

Logo

Q16: Which SQL function returns the number with specified precision?

Logo

Q17: Which function is used to calculate modulus of two numbers?

Logo

Q18: Which function returns the largest value in a column?

Logo

Q19: What does the AVG() function return?

Logo

Q20: Which function returns the total sum of a numeric column?

Logo

Q21: Which function is used to count all rows in a table?

Are you ready to start test? Set your time limit