Unknown column 'sex' in 'where clause'--select * from chapters where book_id='3' and chapter_number=sex