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