First write the select statememnt
SELECT * FROM Books
WHERE Number = 123 // or whatever number you want
Put that into a string and pass the string to the query statement function. When that function returns your program will have to loop through the MySQL's result set -- there may be 0 or more rows.
Read through some of those tutorials I gave you and you will find out how to do that.