Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 00ace33

Browse files
committed
visitor 밖으로 분리, union 처리중, multiple union sample 추가
1 parent c71975d commit 00ace33

File tree

16 files changed

+178
-125
lines changed

16 files changed

+178
-125
lines changed

‎.idea/workspace.xml

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎input.txt

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1-
SELECT EC_DV as staff_gbn
2-
FROM ETCH004M
3-
WHERE
1+
select distinct val from
42
(
5-
TO_DATE (SCH_REG_DT , 'YYYY-MM-DD') BETWEEN TO_DATE (SYSDATE, 'YYYY-MM-DD') AND
6-
TO_DATE (SYSDATE, 'YYYY-MM-DD')
7-
)
8-
GROUP BY EC_DV
9-
UNION SELECT EC_CLPS_DV_CD as staff_gbn
10-
FROM ETCH005M
11-
WHERE NVL (USE_AYN, 'Y') <> 'N'
3+
(
4+
select field1 as val
5+
from table1
6+
where somethingelse = someval
7+
) union all
8+
(
9+
select field2
10+
from table1
11+
where somethingelse = someval
12+
) union all
13+
(
14+
select field1
15+
from table2
16+
where somethingelse = someval
17+
) union all
18+
(
19+
select field2
20+
from table2
21+
where somethingelse = someval
22+
)
23+
) t
-7.12 KB
Binary file not shown.
6 Bytes
Binary file not shown.
5.42 KB
Binary file not shown.
-343 Bytes
Binary file not shown.
347 Bytes
Binary file not shown.
224 Bytes
Binary file not shown.
5 Bytes
Binary file not shown.
1.06 KB
Binary file not shown.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /