open_in_new
content_copy
select @var1 = avg(someColumn), @var2 = avg(otherColumn) from theTable