SQL SQUARE()
SQUARE function is to find the square of the values passed in it.SYNTAX :
square(x)
area | angle | num |
36.784 | 45 | 96 |
212.254 | 30 | -78 |
121.001 | 45 | -45 |
141.698 | 185 | -96 |
Example 1 :with Table
SELECT square(angle) as Power from scanf ;
Example 2 : without Table
SELECT square(34);