-3
我是一名sql實習生,對此查詢有任何幫助,都會很棒。列出每個部門中最近僱傭的員工
select distinct jobtitle,max([HireDate]),LoginID from [HumanResources].[Employee] as e
where loginid in (select distinct LoginID from HumanResources.Employee
where JobTitle in (select distinct JobTitle from [HumanResources].[Employee]))
group by JobTitle,LoginID;
你有沒有嘗試過爲自己做任何事情? – Jon
我剛開始學習ruby.And它會很好,如果你可以建議任何好的教程。 – punitha
試試這個 - http://bit.ly/1gDXoAt – Jon