$sql = "select u.id, u.name from tt_user_project_binds upb".
" inner join tt_client_project_binds cpb on (upb.project_id = cpb.project_id and cpb.client_id = $user->client_id)".
" inner join tt_users u on (u.id = upb.user_id and u.group_id = $group_id and u.org_id = $org_id)".
$sql = "select u.id, u.name from tt_user_project_binds upb".
" inner join tt_client_project_binds cpb on (upb.project_id = cpb.project_id and cpb.client_id = $user->client_id)".
" inner join tt_users u on (u.id = upb.user_id and u.group_id = $group_id and u.org_id = $org_id)".