Hello everyone,
I have tables containing the data ( Personal Role) below
EmpID EmpName Date Title
000123 Mark 02-Jun-2005 Engineer
000234 Mark 03-Jul-2006 Team Manager
000456 Mark 04-Aug-2008 District Manager
I just wanna take the latest role of Mark (District Manager)
when Using SQL query, I usually write this
Select * from Personal Role A
where date = (select max(date) from Personal_Role AA
where a.empname = aa.empname
group by empname)
or using Row Number partition by date
I try to use the same query in access, but it didnt work and I cant find the same function as SQL row number in access
Kindly need your help
I have tables containing the data ( Personal Role) below
EmpID EmpName Date Title
000123 Mark 02-Jun-2005 Engineer
000234 Mark 03-Jul-2006 Team Manager
000456 Mark 04-Aug-2008 District Manager
I just wanna take the latest role of Mark (District Manager)
when Using SQL query, I usually write this
Select * from Personal Role A
where date = (select max(date) from Personal_Role AA
where a.empname = aa.empname
group by empname)
or using Row Number partition by date
I try to use the same query in access, but it didnt work and I cant find the same function as SQL row number in access
Kindly need your help