You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM books_authors INNER JOIN books ON books.id = books_authors.book_id
INNER JOIN authors ON authors.id = books_authors.author_id;
SELECT books.title, authors.name FROM books_authors INNER JOIN books ON (books.id = books_authors.book_id) INNER JOIN authors ON (authors.id = books_authors.author_id) WHERE books.title LIKE '%#{search_term}%';