Can't execute query

SELECT parentId, catName, productFlag FROM categories_c WHERE id = 39d=221

MySQL Error: Unknown column '39d' in 'where clause'

This script cannot continue, terminating.