SELECT code FROM smcontents_c_article WHERE parent = '394'
Unknown column 'code' in 'field list'