A Database Error Occurred

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 project_owner.project_id = project.' at line 8

select project_status.name as project_status_name, project.project_title as project_title, project.id as project_id, project.project_start as project_start, project.project_start_time as project_start_time, project.bid_open_day as bid_open_day from project,project_status, project_status_link,project_owner where project_owner.user_id = and project_owner.project_id = project.id and project.id = project_status_link.project_id and project_status_link.status_id = project_status.id and project_status.name in ('Open','Frozen') order by project.id desc