I am having one situation, i.e. in one table i am having Course, Semester and University Columns, in another table i am having Book Number, Author, Booktitle, Publication and Year. For each course, each semester and each university the book differs(i.e., Book Number, Author, Booktitle, Publication), what i am have to do is based on the course, semester and university i have to retrieve the values of Book Number, Author, Booktitle and Publication. i.e. i am doing B.E. Mech, 2nd year means, the retrieving values of Book Number, Author, Booktitle and Publication should be corresponding to B.E. Mechanical, 2nd year books.
I am having one situation, i.e. in one table i am having Course, Semester
Share
From what I understand, there may be more than one Course / Semester / University combination for one book and probably more than one book per Course / Semester / University? This is a many-to-many relation and can only be solved by a third table:
When this table is filled, use two ‘LEFT JOIN’ relations in your Queries: