select * from user_books as ub left join books as b on b.id=ub.id_book where ub.id_user=76
SELECT * FROM books, user_books WHERE books.id = user_books.id_book AND user_books.id_user = 76