A Database Error Occurred

Error Number: 1054

Unknown column 'demo' in 'where clause'

SELECT * FROM rgn_tnews as a WHERE a.nid is not null AND a.nid = demo