Results 1 to 2 of 2

Thread: Retrieve values in different format

  1. #1

    Retrieve values in different format

    Question asked by visitor Navi

    I want to achive the following in PL/SQL or by using any other method

    select col1,col2 from table;
    Output will be
    col1 col2
    1 abc
    2 xyz

    but i want to get the display like below
    col1 1 2
    col2 abc xyz

    How can i achive. Please ... thanks in advance

  2. #2
    Join Date
    Jun 2007

    Re: Retrieve values in different format

    try to write matrix query using DECODE function.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.