충남대학교

SELECT DATA.SEQ, DATA.NAME, CP.CORP_NAME, CL.DEPT, (SELECT COUNT(*) FROM REPORT_CORP WHERE SEQ_STU = DATA.SEQ AND SEQ_LECT = '') AS CORP, (SELECT SEQ FROM REPORT_CORP_DETAIL WHERE SEQ_STU = DATA.SEQ AND SEQ_LECT = '') AS DETAIL FROM ( SELECT SEQ, SEQ_CORP, SEQ_CLASS, NAME FROM MEMBER_STUDENT WHERE SEQ_ ='' AND SEQ_LECT = '' UNION SELECT SEQ_ORI AS SEQ, SEQ_CORP, SEQ_CLASS, NAME FROM MEMBER_STUDENT_HISTORY WHERE SEQ_ ='' AND SEQ_LECT = '' ORDER BY SEQ DESC ) DATA, member_corp CP, member_class CL WHERE CP.seq = DATA.SEQ_CORP AND CL.seq = DATA.SEQ_CLASS ORDER BY DATA.NAME asc

1054 : Unknown column 'SEQ_' in 'where clause'

error file : /cc/html/location.php