The task is about a database of books, where authors can be authors of several books, and books can have several authors. There are three tables in the database:
books (bookID, bookTitle, bookAge); authors (authorID, authorName, authorAge); indexes (bookID, authorID) How to display books that are written, for example - Pupkin, in collaboration with someone else? Tell me how to act?
I suspect that it is necessary to select all of Pupkin’s books, to find someone else other than his author, and to withdraw all these books, excluding books where only Pupkin is.
Can this be done in one request? Where to dig?
thank