Check out example codes for "tsql raise to power". It will help you in understanding the concepts better.

Code Example 1

# example of using the power function in t-sql to calculate euclidean distance
select sqrt(power((max(LAT_N)-min(LAT_N)), 2) + power((MAX(LONG_W)-MIN(LONG_W)),2))
from station;

Learn ReactJs, React Native from akashmittal.com