Complex sorting and merging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David P

    #1

    Complex sorting and merging

    lo

    I have a table in the following style :

    Artnr Detail
    ----- ------
    110391 grey and
    100391 blue color
    100392 Green
    100393 black
    100393 monitor
    ....

    So sometimes one article has more details. My problem is, i have to
    get rid of that and sort the table in this way :

    Artnr Detail
    ----- ------
    110391 grey and blue color
    100392 Green
    100393 black monitor

    Is there a way to manage this with mysql or does it need php
    scripting. Anyone can help me and point me to where to start ?

    Regards David
Working...