注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
1. SQL
给了三张表,
employees, department, photos
他们之前有外键ID相连
3个小题
a. 求ave(salary) group by department, 只在employees的表里求就可以
b. ave(salary) > 50000, 但是要打印department的name
c. 找出photos里的链接,打印employee ierformance regarding to the latency issue?
如果查询数据库很慢怎么办,查询disk慢的话应该加cache
Similar to this one: |