SELECT * FROM project WHERE id = ANY (SELECT circle_project.project_id FROM circle_project WHERE circle_project.circle_id = ANY (SELECT circle_id FROM circle_user WHERE circle_user.user_id = '$user_id'))