Select SUPPORTER.ORG,SUM(CONTRIBUTION.AMOUNT),
CASE SUPPORTER.ORG
WHEN '1' THEN '단체'
WHEN '2' THEN '개인'
ELSE 'N/A' END
from CONTRIBUTION
INNER JOIN SUPPORTER
ON CONTRIBUTION.SUPPORTER_ID = SUPPORTER.SID
WHERE to_number(to_char(CONTRIBUTION_DATE,'YYYY')) = 2019
GROUP BY SUPPORTER.ORG
ORDER BY SUPPORTER.ORG
No. | Subject |
---|---|
Notice | Certification Oracle SQL Developer |
154 | TECH on the Net |
153 | trim(to_char(:P113_REGULAR,'999G999G999G999G990D00')) |
152 | PIVOT |
151 | TEST 2 |
150 | CREATION DEDUCTION TYPE |
149 | PL/SQL for creation Tables |
148 | TEST 1 |
147 | INNER JOIN & GROUP BY |
146 | DISPLAY ONLY FEW ROWS |
» | GROUP BY (for CHART) |
144 | INNER JOIN |
143 | LOOP - 2 |
142 | DATE Compare & Convert |
141 | LOOP & ROWNUM |
140 | Oracle Number Format |
139 | Page Reload in APEX |
138 | SUM / GROUP BY |
137 | MEDWIGS DB |
136 | HOW TO CONVERT DD/MM/YYYY -> MM/DD/YYYY |
135 | Attributes - Link Icon |