|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi there.
I'd like to know why SELECT ... FROM ... WHERE variable IN (SELECT ... FROM ... WHERE ...) doesn't work, although it works if I write the result of the second query as IN arguments, like SELECT ... FROM ... WHERE variable IN ('variable1', variable2', 'variable3', ...) Thanks - J0f |
|
#2
|
|||
|
|||
|
MySQL doesn't do subselects...
HTH marty |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > 'in' statement in queries |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|