Unknown column '8n' in 'where clause'--select * from chapters where book_id='76' and chapter_number=8n