Well, I have the following problem in MySQL: I created two tables a table of books and another table of authors. Well, I need to show the name of the book with its authors, however there are some books that have more than 1 author ie using the following SQL:
select l.titulo_livro, a.nome_autor, a.id_autor from tb_livros as l
join tb_autores as a
where l.id_livro = a.id_livro_escrito;
I get the following result:
Is there any way to prevent the name of the book from being repeated and the names of the authors of the same book to join together?