Heres an example scenario, say I have two tables

       table1
----->  id
|       name
|
|       table2
|_____> id 
        address
        zip

I inner join table1 and table2 on id.  I want to delete all the records in 
table1 which have a zip of '90210'.  I could create a script, run a select 
and loop through each id and delete the records in table1.



-Jason Yates


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to