Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Запрос с объединением
|
|||
|---|---|---|---|
|
#18+
Как сделать так, чтобы в выборку при объединении таблиц попадали и null значения? К примеру... запрос: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Если в таблице dtp_kart.dbf значение streetcode = null, то эта запись вообще в выборку не попадает. Реально ли? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.02.2004, 21:12 |
|
||
|
Запрос с объединением
|
|||
|---|---|---|---|
|
#18+
Не совсем понятен вопрос. Если хочешь вывести все значения из dtp_kart примени не JOIN, а LEFT JOIN. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.02.2004, 21:01 |
|
||
|
Запрос с объединением
|
|||
|---|---|---|---|
|
#18+
Пробовали встроенной справкой пользоваться? Там вроде понятно написано: INNER JOIN specifies that the query result contain only rows from a table that match one or more rows in another table. LEFT [OUTER] JOIN specifies that the query result contains all rows from the table to the left of the JOIN keyword and only matching rows from the table to the right of the JOIN keyword. The OUTER keyword is optional; you can include it to emphasize that an outer join is created. RIGHT [OUTER] JOIN specifies that the query result contain all rows from the table to the right of the JOIN keyword and only matching rows from the table to the left of the JOIN keyword. The OUTER keyword is optional; it can be included to emphasize that an outer join is created. FULL [OUTER] JOIN specifies that the query result contain all matching and nonmatching rows from both tables. The OUTER keyword is optional; you can include it to emphasize that an outer join is created. For more information about joins, see Joins in the Remarks section. ON JoinCondition specifies the conditions for which the tables are joined. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.02.2004, 21:49 |
|
||
|
|

start [/forum/topic.php?fid=41&msg=32401749&tid=1597230]: |
0ms |
get settings: |
6ms |
get forum list: |
12ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
18ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
26ms |
get tp. blocked users: |
1ms |
| others: | 228ms |
| total: | 303ms |

| 0 / 0 |
