Re: delete using a join

2003-05-30 Thread Victoria Reznichenko
Steve Mansfield <[EMAIL PROTECTED]> wrote: > I'm using Mysql 3.23.51 on redhat. > does anyone know if there is a way of deleting records using a join. > I read somewhere that this is only supported as of version 4.x > Use programming language to retrieve data and then delete it. One solution is a

delete using a join

2003-05-29 Thread Steve Mansfield
I'm using Mysql 3.23.51 on redhat. does anyone know if there is a way of deleting records using a join. I read somewhere that this is only supported as of version 4.x Regards, Steve Mansfield [EMAIL PROTECTED] http://www.getreal.co.uk Real Data Services Ltd 117-119 Marlborough Road Romford Essex

Re: how do I delete using a join in mySQL?

2001-02-14 Thread Rolf Hopkins
QL Database" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 9:25 Subject: RE: how do I delete using a join in mySQL? > > If I recall it right the statement should be following: > > > > DELETE FROM Contract_Table, Client_Table WHERE contract_client_id = > &g

RE: how do I delete using a join in mySQL?

2001-02-14 Thread Quentin Bennett
1 14:26 To: James R. Butzen; mySQL Database Subject: RE: how do I delete using a join in mySQL? > If I recall it right the statement should be following: > > DELETE FROM Contract_Table, Client_Table WHERE contract_client_id = > client_id > AND client_contact = 'corricello'

RE: how do I delete using a join in mySQL?

2001-02-14 Thread Daevid Vincent
> If I recall it right the statement should be following: > > DELETE FROM Contract_Table, Client_Table WHERE contract_client_id = > client_id > AND client_contact = 'corricello' AND contract_percent = 0; I made a copy of the database and tried this one, but it caused an error. I'm thinking someth

RE: how do I delete using a join in mySQL?

2001-02-14 Thread James R. Butzen
.nebis.com -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 3:41 PM To: mySQL Database Subject: how do I delete using a join in mySQL? hey, how do I DELETE all these Contract_Table records in mySQL? SELECT contract_id, client_contact, contract_pe

how do I delete using a join in mySQL?

2001-02-14 Thread Daevid Vincent
hey, how do I DELETE all these Contract_Table records in mySQL? SELECT contract_id, client_contact, contract_percent FROM Contract_Table, Client_Table WHERE contract_client_id = client_id AND client_contact = 'corricello' AND contract_percent = 0; I see this page, but didn't know if it was da