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