|
|
|
сцепление таблиц
|
|||
|---|---|---|---|
|
#18+
Есть такой запрос: SELECT item.id as id,item.title as title, bin.col as col FROM item, bin WHERE item.groupId=123 AND item.id=bin.prodId Нужно сделать аналогичный, но что бы при отсутсвие в bin записи для которой item.id=bin.prodId, строчка с этими item.id as id и item.title as title, все-таки, была, но колонка col была бы постой или нулевой. Как такое сделать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.01.2002, 16:38:02 |
|
||
|
|

start [/forum/search_topic.php?author=A.Panskikh&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
10ms |
get forum list: |
20ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
8ms |
get first new msg: |
5ms |
get forum data: |
2ms |
get page messages: |
24ms |
get tp. blocked users: |
1ms |
| others: | 2719ms |
| total: | 2860ms |

| 0 / 0 |
