Sql Procedure calculate power of a number - Query Examples