Re: need help for my jointure

2006-04-27 Thread Patrick Aljord
On 4/26/06, Shawn Green <[EMAIL PROTECTED]> wrote: > > > > --- Patrick Aljord <[EMAIL PROTECTED]> wrote: > > > On 4/26/06, Patrick Aljord <[EMAIL PROTECTED]> wrote: > > > I have a table confs like this: > > > id int 5 auto_increment primary key; > > > conf text; > > > > > > and another table conf_i

Re: need help for my jointure

2006-04-26 Thread Shawn Green
--- Patrick Aljord <[EMAIL PROTECTED]> wrote: > On 4/26/06, Patrick Aljord <[EMAIL PROTECTED]> wrote: > > I have a table confs like this: > > id int 5 auto_increment primary key; > > conf text; > > > > and another table conf_ip like this: > > id int 5 auto_increment primary key; > > conf_id int

Re: need help for my jointure

2006-04-26 Thread Patrick Aljord
On 4/26/06, Patrick Aljord <[EMAIL PROTECTED]> wrote: > I have a table confs like this: > id int 5 auto_increment primary key; > conf text; > > and another table conf_ip like this: > id int 5 auto_increment primary key; > conf_id int 5; ==>foreing key of confs > ip varchar 150; > ok, sorry all for

Re: need help for my jointure

2006-04-26 Thread Shawn Green
--- Patrick Aljord <[EMAIL PROTECTED]> wrote: > I have a table confs like this: > id int 5 auto_increment primary key; > conf text; > > and another table conf_ip like this: > id int 5 auto_increment primary key; > conf_id int 5; ==>foreing key of confs > ip varchar 150; > > I would like to > s

Re: need help for my jointure

2006-04-25 Thread Rhino
right syntax. -- Rhino - Original Message - From: "Patrick Aljord" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 25, 2006 8:48 PM Subject: need help for my jointure I have a table confs like this: id int 5 auto_increment primary key; conf text; and another table con

need help for my jointure

2006-04-25 Thread Patrick Aljord
I have a table confs like this: id int 5 auto_increment primary key; conf text; and another table conf_ip like this: id int 5 auto_increment primary key; conf_id int 5; ==>foreing key of confs ip varchar 150; I would like to select id, conf from confs where ip!='some val'; how can I do this? th