Unknown column 'first' in 'where clause'--select * from chapters where book_id='23' and chapter_number=first-last