A Database Error Occurred

Error Number: 1054

Unknown column 'constanta' in 'where clause'

SELECT a.*, b.* FROM ap_comments_localuri a LEFT JOIN phpbb3_users b On a.user_id=b.user_id WHERE a.local_id=constanta ORDER BY a.comment_date DESC