回答編集履歴
1
質問見落としによる訂正
test
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
```SQL
|
4
4
|
|
5
|
-
with
|
5
|
+
with B as (
|
6
6
|
|
7
|
-
SELECT MAX(LENGTH(C列)) as c_max FROM TBL
|
7
|
+
SELECT MAX(LENGTH(C列)) as c_max FROM TBL
|
8
8
|
|
9
9
|
)
|
10
10
|
|
11
|
-
SELECT
|
11
|
+
SELECT A.*, c_max
|
12
12
|
|
13
|
-
FROM TBLA,
|
13
|
+
FROM TBL A, B
|
14
14
|
|
15
15
|
```
|