To raise a number x to a power y, use either the POW() or POWER() functions

SELECT POW(2,2); => 4
SELECT POW(4,2); => 16