# 서브쿼리 사용 select a.ID, (select count(*) from ECOLI_DATA b where a.ID = b.PARENT_ID)as CHILD_COUNT from ECOLI_DATA a order by a.ID asc;