OK. Let's try again. Sorry but my English is not very good and it's difficult for me to explain.
I'll explain everything.
I'm a software developer that want to make a database program (h2database, so SQL Db.).
I want to catalog 4 types of elements of a library, but in the future perhaps I will add some more.
At this moment, I will catalog 4 types:
Type 1) writing elements as books collections (several collections of books), individual books (books that aren't in any collection), magazines and newspapers).
Type 2) Sound elements, consist on Tapes (one or several), disks (one or several), and mp3 (one or several).
Type 3) Visual elements as Collections of images and Collections of videos.
Type 4) Multimedia elements consist on packs (1 Visual element + 1 Sound element).
With this data I would like to develop the entity-relationship diagram, because the interface will simple, but I don't know where begin.
I suppose I must maintain a first table named Library for instance. This table will be the parent of 4 child tables (relation ISA) with these 4 tables named "Writings", "sounds", Visuals" and "multimedia".
The problem begins when for instance, Visual Elements must link with Collections of images and videos. Must I create a table Collections, or must I create Tables Images and Videos, and afterwards link with Visuals table by using intermediate tables (relationships tables). I think is the last one because images and videos will have different fields.
Because I have a lot of problems, is why I want to have entity-relationship diagram so I can view graphically how to achieve this.
I'm beginning with databases , and I will learn by making this program. I'm learning a lot by reading dbforums post, but I want to make my own program.