Redian新闻
>
我的broker为什么这么做?
avatar
我的broker为什么这么做?# Living
g*r
1
这个面试题是job板上一个同学推荐的。有人能帮忙回答一下吗?
谢谢!
There is an EMPLOYEES(ID, NAME, MANAGER_ID) table. MANAGER_ID points to the
ID column of the same table. Given a manager name (assuming ID is unique and
NAME is unique), what kind of SQL query would you write to retrieve all
employees directly managed by this manager? What is the query to get
employees 2 levels down? Is there a way to write a query to get employees N
levels down? Is there another way of organising this table (different
columns?) to hold these kinds of tree structures?
avatar
q*a
2
我是来美N年(N>5)的H1B,申请房贷时, 我的broker竟然要求我在申请表上填公民。
说是银行不会查,办起来更方便。这不是伪造吗?用H1B办不会有什么额外的麻烦的,
他为什么要这样做?因为字是我签的,查出来是要我付法律责任的。
avatar
i*u
3
select ID
from EMPLOYEES
where ID in
( select MANAGER_ID from EMPLOYEES)
不知道这个efficent不 有大侠知道更好的办法吗
nth level down的用connect by吧
avatar
b*r
4
如果你将来不打算申请绿卡,也没啥
否则,风险太大
avatar
G*2
5
这题我面试遇到过
这个是返回所有的manager
ID
要MANGAER手下的员工,需要
在这个基础上GROUP BY 一下

【在 i****u 的大作中提到】
: select ID
: from EMPLOYEES
: where ID in
: ( select MANAGER_ID from EMPLOYEES)
: 不知道这个efficent不 有大侠知道更好的办法吗
: nth level down的用connect by吧

avatar
q*a
6
正在申请绿卡呢
avatar
s*l
7
别干这事,总是个定时炸弹
avatar
q*a
8
已经改了,这事做不得的。
avatar
M*k
9
屁大点的事儿....
avatar
p*n
10
Fire鸟这个鸟broker,太没RP鸟。。。你这样做,对他只有好处,但是对你有无穷隐患。
H1b申请mortgage没有问题的,这个鸟broker...

【在 q******a 的大作中提到】
: 我是来美N年(N>5)的H1B,申请房贷时, 我的broker竟然要求我在申请表上填公民。
: 说是银行不会查,办起来更方便。这不是伪造吗?用H1B办不会有什么额外的麻烦的,
: 他为什么要这样做?因为字是我签的,查出来是要我付法律责任的。

avatar
N*s
11
ft. when you were begging your first credit card at school, I am sure you
were instructed to put "citizen" on the application.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。