Unknown column 'CRM_ORGID' in 'where clause'

SELECT Distinct WebExamCourseDates.ExamID, WebExam.Title as WebName FROM WebExamCourseDates INNER JOIN WebExam ON WebExamCourseDates.ExamID = WebExam.ExamID WHERE (((WebExamCourseDates.ProviderID)=CRM_ORGID) AND ((WebExamCourseDates.isPublished)=1) AND ((WebExamCourseDates.ExamDate)>=CurDate())) ORDER BY WebExam.Title