MySQL Установите переменную в сеансе

mysql>SET @max_limbs = (SELECT MAX(arms+legs) FROM limbs);
Nutty Nightingale