
연도별 대장균 크기의 편차 구하기 수정 전- 뭐가 문제일까..- cte 집계함수 안된대서.. 유니언 안 하고 뺐는데..with recursive cte as ( select ID, left(DIFFERENTIATION_DATE, 4) as YEAR, SIZE_OF_COLONY FROM ECOLI_DATA )select c.YEAR, (max(e.SIZE_OF_COLONY)-min(e.SIZE_OF_COLONY)) as YEAR_DEV, e.ID from ECOLI_DATA e join cte c where c.id = e.id order by YEAR, YEAR_DEV; 수정 후1- WITH RECURSIVE → WITH로 변..