displaying the rows

  • I have a sql query

    SELECT PropertyName, PropertyValue, UserID FROM ProfilePropertyDefinition

    INNER JOIN UserProfile ON

     ProfilePropertyDefinition.PropertyDefinitionID = UserProfile.PropertyDefinitionID

    which displays the results like this

    propertyName                      propertyValue               userid

    FirstName                                 Jon                              1

    LastName                                 Doe                             1

    CompanyName                          yahoo                           1

    FirstName                                Mark                         2

    lastName                                 doe                           2

    CompanyName                          MSN                          2

    The results i want to show are like this

    FirstName             Lastname                CompanyName   USerid

    jon                          Doe                               yahoo              1

    mark                        doe                                msn                2

    Does any 1 can help with this  

     

  • This was removed by the editor as SPAM

  • Cross Post

    I wasn't born stupid - I had to study.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply