| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Entity data spread over multiple tables
>> with the downside that PHONE is a separate table, and I have to
access a second table to collect all info for a single PARTICIPANT. <<
Wrong model; the unit of work is the entire **schema**, not tables. Tables are sets; you are getting the data for the **entire set of participants**, not to a single participant.
>> This rubs me a little funny because I would model this differently
in a programming language like Java. <<
Try writting the code to do a relational division in Java -- about 100 lines of code. Columns are not fields; rows are not records; tables are not files. The table is the only data structure in SQL -- no arrays, linked lists, records, etc.
>> do other people hit this type of modeling problem often? <<
Sure! And when you learn LISP, the only data structure is a linked list. When you learn ICON, the only data structure is a string. You need to shift your mental model. Received on Sun Jan 25 2004 - 21:40:24 CST
![]() |
![]() |