by bellpp sybase iq [2021.08.06 12:12:24]
select 'a' from dummy;
select 'b' from dummy;
결과가
1 a
2 b
처럼 나오게하려면 어떻게하나요?
질문을 제대로 이해한건지 모르겠는데..number 함수 쓰시면 될까요?
select number(), col from ( select 'a' col from dummy union all select 'b' from dummy) as tab