Php, mysql selection

Posted by cosy on Stack Overflow See other posts from Stack Overflow or by cosy
Published on 2010-05-11T08:59:45Z Indexed on 2010/05/11 9:04 UTC
Read the original article Hit count: 289

Filed under:
|
|

I have this table ATTRIBUTE

id     name       um
12    capacity  MB;GB;TB

And this table2 :

id    id_attribute  id_product    name       value     um
 1        12         40        hdd maxtor     30       GB
 2        12         41        hdd maxtor     40       GB
 3        12         42        hdd y           1       TB

How can i select from table2 in this order : 30GB 40GB 1TB?

Thanks a lot!

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql