Question
Computer Science Question on SQL
Which SQL expression calculates the square root of 16?
A
POWER(16,2)
B
POWER(16,0.5)
C
POWER(16,1)
D
MOD(16)
Answer
POWER(16,0.5)
Explanation
Solution
The POWER(16,0.5) expression in SQL calculates the square root of 16 by raising it to the power of 0.5.