select*fromemployeeempidname001张三002李四003王五select*fromsalaryempidmonthsalary001110000122000013300002120000224000033500selectt3.name,t1.empid,t1.month,t2.salaryfrom(selectempid,max(month)monthfromsalarygroupbyempid)t1leftjoinsalaryt2ont2.empid=t1.empid..
分类:
其他好文 时间:
2015-07-03 00:21:33
阅读次数:
109