京东 后端开发实习生 京东零售-平台营销中心 44min
1) 对京东有什么了解
2) 不用自我介绍了
3) 问了实习时长和base地
4) 问在实习中比较有挑战的技术点
5) 联合索引
6) 索引失效场景
Where 字符串转成数字作比较,索引失效后怎么优化
t表有3个字段,A,B,C建了联合索引(A,B,C)
Select * from t where a = 3 and b > 5;
Select * from t where b > 5 and a = 3;
Select * from t where a = 3 and b > 5 and c > 7;
Select * from t where a < 3;
Select * from t where a <= 3;
上面那些语句会用到索引
7) Join语句场景
T1表
Id name
1 A
2 B
3 C
T2表
name score
A 1
A 2
B 1
Select * from t1 left join t2 on t1.name = t2.name; 返回几行
Select * from t1 left join t2 on t1.name = t2.name and t2.name is not null;返回几行
Select * from t1 left join t2 on t1.name = t2.name where t2.name is not null;返回几行
8) Java有哪些锁
9) 使用过什么线程池,ThreadPollExecutor有接触过吗?SingleThreadPollExecutor有接触过吗?
10) 死锁是什么
11) 线程和进程的区别
12) 手撕:开IDEA反转链表