0
如何获得部门明智的最高工资和最高工资持有人员工姓名,考虑使用钥匙加入3个表 io/-如何获得部门明智的最高工资和最高工资持有人员工姓名,考虑使用钥匙加入3个表
emptable, saltable,depttable
id name dept_id id sal dept_id dept_name
1 ram 10 1 100 10 xyz
2 sham 10 2 500 20 abc
3 jadu 20 3 900 30 por
4 john 20 4 999 40 stu
5 Madhu 30 5 300 50 xxx
O/P-
name,sal,dept_name
sham 500 abc
john 999 stu
Madhu300 xxx