|
|
#13 |
|
Участник
|
Вы уж определитесь какой конкретно запрос вам нужен.
Код: SELECT ... FROM PURCHTABLE_REQUEST A WHERE ... AND NOT EXISTS ( SELECT ... FROM PURCHTABLE B WHERE ... AND NOT EXISTS ( SELECT ... FROM PURCHLINE C WHERE ... ) ) Код: SELECT ... FROM PURCHTABLE_REQUEST A WHERE ... AND NOT EXISTS ( SELECT ... FROM PURCHTABLE B WHERE ... ) AND NOT EXISTS ( SELECT ... FROM PURCHLINE C WHERE ... )
|
|
|
| Теги |
| exists, query |
|
|
|