I have what should be a simple scenario, listing book references (Book, chapter, verse - e.g. for the Bible you would have Genesis 6:1; 6:2, 6:3; 7:1; 7:2 etc...).
In theory Book is a 1-many relationship to Chapter and so on, but it would seem too much to make three separate tables. So I thought a self-join would be better.
Presently I have a table tblReference containing:
RefID
Book
Chapter
Verse
Do you think a self-join is best, joining, verse to chapter, and chapter to book? And, if so, where would the joins be (I have been reading on the web about self-joins but I a little confused). Do I join Book to Chapter, or do i need to create a ChapterID, BookID and VerseID also?
Thanks for any advice.
In theory Book is a 1-many relationship to Chapter and so on, but it would seem too much to make three separate tables. So I thought a self-join would be better.
Presently I have a table tblReference containing:
RefID
Book
Chapter
Verse
Do you think a self-join is best, joining, verse to chapter, and chapter to book? And, if so, where would the joins be (I have been reading on the web about self-joins but I a little confused). Do I join Book to Chapter, or do i need to create a ChapterID, BookID and VerseID also?
Thanks for any advice.