Calculate the power in procedure
CREATE PROCEDURE POWERPOWER (IN P1 INTEGER, OUT P2 INTEGER) DETERMINISTIC BEGIN SET P2 = POWER(POWER(P1,2),2); END