SQRT function returns the square root of a float value and the return data type is float.
SQUARE function returns the square of a float value ant the return data type is float.
Look at the example below;
SQRT Function:
1 2 3 4 5 | SELECT SQRT(1), SQRT(4), SQRT(9), SQRT(12), SQRT(12.3) |
SQUARE Function:
1 2 3 4 5 | SELECT SQUARE(1), SQUARE(4), SQUARE(9), SQUARE(12), SQUARE(12.3) |