データベースエラーが発生しました。

Error Number: 1064

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 e.status_cd = 1 and e.edit_flg = 0 and e.entry_id <> order by ' at line 13

select e.* ,c.logo_file from nk_entry e inner join nk_company c on c.company_id = e.company_id where e.company_id = and e.status_cd = 1 and e.edit_flg = 0 and e.entry_id <> order by e.date_update desc

Filename: /usr/local/www/apache22/virtualhost/recruit.deli-more.com/models/entry_model.php

Line Number: 217