I'm trying to build a database of references. There are 5 tables:
Article table: articleID articleTitle sourceID
Author table: authorID firstName lastName
ArticleAuthor table: articleID authorID
Source table: sourceID sourceTitle
SourceAuthor table: sourceID authorID
There are many to many relationships between article table and author table, and between source table and author table. And there is one to many relationship between source table and article table.
Ultimately, what I want to see is this:
article, author, author, ..., source, sourceAuthor, sourceAuthor, ....
But a simple query to display all fields from all tables for each articleID always returns 0 record.
Is my goal feasible at all? If yes, how can I do it? Please help.
Thanks,
Kuan
Article table: articleID articleTitle sourceID
Author table: authorID firstName lastName
ArticleAuthor table: articleID authorID
Source table: sourceID sourceTitle
SourceAuthor table: sourceID authorID
There are many to many relationships between article table and author table, and between source table and author table. And there is one to many relationship between source table and article table.
Ultimately, what I want to see is this:
article, author, author, ..., source, sourceAuthor, sourceAuthor, ....
But a simple query to display all fields from all tables for each articleID always returns 0 record.
Is my goal feasible at all? If yes, how can I do it? Please help.
Thanks,
Kuan