Weapons of Math Instruction

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @y table(a real, i int identity)
INSERT @y values(5),(12),(23),(2),(4),(4),(2),(6),(7)

DECLARE @ REAL SELECT @=CHOOSE(i%5+1,@/a,ISNULL(POWER(@,a),a),@+a,@-a,@*a)FROM @y
PRINT @

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results