Query required to display a row from table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AdusumalliGopikumar
    New Member
    • Aug 2007
    • 42

    Query required to display a row from table

    Hi,

    Could you please help me?

    The table is given below

    Name Phone No
    -------------------------------
    A 1
    A 2
    A 3
    B 1
    B 2




    Now I want to display the row as shown below

    Name Phone1 Phone2 Phone3

    A 1 2 3




    How can I display like this please provide me the query/solution.



    Thanks in advance,

    Gopikumar A
  • sfabbas
    New Member
    • Mar 2008
    • 1

    #2
    U can do that making use of plsql
    as it's easier to do in plsql rather in sql
    if u need i will write a proc for u

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Kindly post what you have tried so far.

      Comment

      • amitpatel66
        Recognized Expert Top Contributor
        • Mar 2007
        • 2358

        #4
        Will a person have not more than 3 phone numbers?
        In case if the phone no are more than 3 for a particular person, in that case??

        Comment

        Working...