input_view.txt 79 B

123
  1. select key,1 as `num` from Input1
  2. union all
  3. select key,2 as `num` from Input2;