Unknown column 'text' in 'where clause'--select * from chapters where book_id='75' and chapter_number=text