declare @ varchar(1000), @table varchar(10)
select @=fie,@table=tbl from a where id =
exec('select '+ @  + '   from  ' + @table)