Si vous maitrisez le SQL, allez voir sur mon topic, siouplait, je suis aussi en galère ! :cry:
_john_doe_
LightKyle> Ca marche nickel, MERCI BEAUCOUP :) :jap: :hello:
mrbebert> Merci aussi, mais non, c'était pas en mySQL :D
John of the Baptiste> Oui j'avais compris, mais merci de l'avoir dit quand même :o :D
John of the Baptiste
LightKyle a écrit a écrit :
select * from PERSONNES where Numero not in (select Numero from ABONNES)
si il veut que les noms, c'est SELECT nom, mais john avait compris, je pense ! Les John sont supérieurement intelligents, c'est bien connu ! :D :hello:
mrbebert
si c'est en mysql, essaie ca :
SELECT * from PERSONNES left join ABONNES ON ABONNES.Numero = PERSONNES.Numero where ABONNES.Numero is null
[jfdsdjhfuetppo]--Message édité par mrbebert le 23-05-2002 à 21:49:31--[/jfdsdjhfuetppo]
_john_doe_
Je débute en SQL et j'ai VRAIMENT du mal... Si quelqu'un pouvait me faire ça, ça serait sympa :)
j'ai deux tables :
'PERSONNES' ayant les champs 'Numero', 'Nom', 'Prénom'
'ABONNES' ayant les champs 'Numero', 'Date inscription'
Je voudrais récupérer l'ensemble des noms des personnes qui ne sont pas abonnées.