回答編集履歴
1
修正
test
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
```sql
|
2
2
|
|
3
|
-
UPDATE `site`
|
3
|
+
UPDATE `site` SET
|
4
4
|
|
5
|
-
`incount` = select count(*) as cnt from incount where referer LIKE CONCAT('%', `site`.`sitedomain`, '%')
|
5
|
+
`incount` = (select count(*) as cnt from incount where referer LIKE CONCAT('%', `site`.`sitedomain`, '%'))
|
6
6
|
|
7
|
-
, `outcount` = select count(*) as cnt from incount where referer LIKE CONCAT('%', `site`.`sitedomain`, '%')
|
7
|
+
, `outcount` = (select count(*) as cnt from incount where referer LIKE CONCAT('%', `site`.`sitedomain`, '%'))
|
8
8
|
|
9
9
|
```
|
10
10
|
|