SQL Prepare Error

Error Number: 42S22

Unknown column 'photo' in 'field list'

select ten_sg as ten, photo from table_baiviet where hienthi=1 and id=? limit 1