Immediately to the point. There is a task to withdraw from the database on the page for example: a list of books and the author (name of author) of a particular book should be next to it. Just bring the author and next should be a list of books that he wrote. There are two tables in the database: 
I assume that for this it is necessary to link tables (one to many). What I tried to do by example. But it does not occur to me how to make a request correctly and display it on the page exactly as I described above or link the tables correctly, please tell me. A simple request for a sample of data is obtained to form a 'SELECT * From books' which displays all the data from the database, but how to make the output of the books correctly and that the corresponding author should be displayed here I just blunted (. Thanks in advance for your understanding.

LEFT JOINquery in theSELECTquery to add content from other tables to the query according to the necessary conditions. They can be explicit or taken from the fields of the main query. - Rootware