A Database Error Occurred

Error Number: 1054

Unknown column 'list' in 'where clause'

SELECT a.id,a.organization_ID,a.name,a.startDate,a.endDate,a.Location,a.recurring, a.exception_date1, a.exception_date2, a.exception_date3, a.exception_date4, a.exception_date5 FROM tbl_events a WHERE a.status='active' and ((a.organization_ID=list and a.dioceseID =4) or (publish_on_parish ='yes' and a.dioceseID =4 and a.organization_ID=0 )) and (publishStartDate<=Now() and (publishEndDate is null or publishEndDate>=Now())) Order By a.startDate Asc, a.name