Couldn't execute query You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 SQL:SELECT bookId,bookName,authorName,publisherName,yearPublished FROM `book` INNER JOIN `author` ON author.AuthorID = book.AuthorID INNER JOIN `publisher` ON publisher.publisherId = book.publisherId WHERE book.bookId = 49637-