Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Posts
    153

    Unanswered: Dsipay data with column value as column name

    All,

    I have one sales table with following structure and data.

    Tabel : Sales
    Column : Sales_Man_no, Sales_Man_Name, Sales_Month, Sales_Qty

    Data: 1 Rehan Jan 10
    1 Rehan Feb 17
    2 Jack Feb 20
    3 Nick Jan 15

    Now i would like to display the data as follow:

    Sales_Man_no Sales_Man_Name Jan Feb
    1 Rehan 10 17
    2 Jack 20
    3 Nick 15

    Thanks in advance.
    JD

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

  3. #3
    Join Date
    Jan 2004
    Posts
    153
    Thank u very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •