|
|
|
select внутри update
|
|||
|---|---|---|---|
|
#18+
Здравствуйте а скажите можно ли сделать так update `table` set `column`=(select count(*) from `column_x` where `column_x`.`cell_x`='xx' ) where ... ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2014, 03:19:38 |
|
||
|
select внутри update
|
|||
|---|---|---|---|
|
#18+
Alexei772, а вы попробуйте и узнаете :) да, можно ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2014, 04:58:43 |
|
||
|
|

start [/forum/topic.php?fid=47&msg=38783572&tid=1834048]: |
0ms |
get settings: |
7ms |
get forum list: |
19ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
53ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 217ms |
| total: | 349ms |

| 0 / 0 |
