J'ai une base du type :
Code : Tout sélectionner
CREATE TABLE IF NOT EXISTS `table` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`champ1` text NOT NULL,
`champ2` text NOT NULL,
`champ3` text NOT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8;Mais je souhaite que le champ1 de ces enregistrements soient différents. Si deux enregistrements ont le même champ1, on n'en sélectionne qu'un seul.
Merci d'avance pour votre aide