I guess the
@bookname
is a variable in which you pass the name of the book to be searched.
But you have used it like a string. So, try changing it like below.
SELECT Bookname, quantity, publisher, author,
FROM books
WHERE (Bookname LIKE @bookname + '%')