Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Average Child Row Count

dadams07Mar 4 2009 — edited Mar 5 2009
Given two tables with a parent-child relationship through a foreign key, is there a way to get the average number of children per parent? I know about the AVG function, but that doesn't seem to apply here, since it only averages column values (not row counts), and only in a single table.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2009
Added on Mar 4 2009
15 comments
1,499 views