GROUP_CONCAT / CONCAT_WS

August 11, 2008 on 12:08 pm | In Trucs, LAMP | 215 Comments

SELECT GROUP_CONCAT( DISTINCT code_texture
SEPARATOR ‘-’ ) AS code_texture, nom_texturefr AS nom_texture
FROM vw_texture vc
WHERE 1
GROUP BY nom_texturefr

Powered by WordPress and Bloxpress2 with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^