错误信息提示:
错误号:12142

错误原因:Unknown column 'ViewFlagCh' in 'where clause'

错误SQL语句:
SELECT * FROM dexde_archives where ID=21 and ViewFlagCh ORDER BY dexde_archives.Order ASC, dexde_archives.ID DESC 


错误信息提示:
错误号:12142

错误原因:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and ViewFlagCh ORDER BY dexde_columanage.Order ASC, dexde_columanage.ID DESC' at line 1

错误SQL语句:
SELECT * FROM dexde_columanage where () and ViewFlagCh ORDER BY dexde_columanage.Order ASC, dexde_columanage.ID DESC