Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Selecting number of "many" in 1-to-many
I'm trying to figure out how to select the number
of children each parent has.
For example, say Table1 (Parent) has a 1-to-many relationship with Table2 (Children); that is, Table1 can have many Table2 records.
For each record in Table1, I want to know the number of times it appears in Table2 as a Parent, i.e. For each Parent (in Table1), how many Children (records in Table2) does it have?
Thanks,
jody
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Wed May 06 1998 - 11:15:44 CDT
![]() |
![]() |