2
I have a question that would be, how to accomplish a relationship that can be infinite.: Ex:
User table with the user id field that would be one for many with Post Table.
Inside the Post Table would have post_id that would have more post inside it.
Table Post with fields ( User_id, Post_id, Text ). Post2 table with fields ( User_id, Post2_id, Post2_postid, Text ).
In the above scenario if you had 10 more posts would use 10 more post tables.
there are some cool ones to have these relationships.
With comparative it would be a tree of directories that inside each one I can have as many directories as you want and files.
Sidiclei F. Almeida, I believe you are talking about a "relationship". Here are some examples:
– FabioIn
Classes > 10 - Self Relationships Self Relationships in Relational Databases Relationships in a Database
– FabioIn
You can do 1:N or even self relationship. I would indicate two tables on the site already have answer for these two
– novic