| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Paul DuBois | Date: | January 16 2000 2:02pm |
| Subject: | Re: SQL: looking for "IN (SELECT blabla FROM blablaTable)" in MySQL | ||
| View as plain text | |||
At 4:55 PM -0800 2000-01-15, Raffael Heinzer wrote: >Grüezi, > I'd like to delete some records in the common SQL way in MySQL: >"DELETE FROM [table] WHERE [i] IN (SELECT [u] FROM [anotherTable] WHERE >...)" > >I figured out that "IN (12, 13, 14)" with a list of constants works - >but I need to have there something dynamically... :( > >Is there any way of doing that in a different way in MySQL (or is my >statement incorrect?) or do I have to put that logic into the DBClient? You must put the logic in your client. -- Paul DuBois, paul@stripped
| Thread | ||
|---|---|---|
| • SQL: looking for "IN (SELECT blabla FROM blablaTable)" in MySQL | Raffael Heinzer | 16 Jan |
| • Re: SQL: looking for "IN (SELECT blabla FROM blablaTable)" in MySQL | Sasha Pachev | 16 Jan |
| • Re: SQL: looking for "IN (SELECT blabla FROM blablaTable)" in MySQL | Tim Bunce | 17 Jan |
| • Re: SQL: looking for "IN (SELECT blabla FROM blablaTable)" in MySQL | Michael Widenius | 17 Jan |
| • Re: SQL: looking for "IN (SELECT blabla FROM blablaTable)" in MySQL | Tim Bunce | 17 Jan |
| • Re: SQL: looking for "IN (SELECT blabla FROM blablaTable)" inMySQL | Paul DuBois | 16 Jan |
