Link to home
Start Free TrialLog in
Avatar of kleigh
kleigh

asked on

first function for mssql

in access i could use the following

SELECT fi1_FinanceManagers.userid, First(fi1_FinanceManagers.LastName) AS FirstOfLastName, First(fi1_FinanceManagers.FirstName) AS FirstOfFirstName, First(fi1_FinanceManagers.Location) AS FirstOfLocation
FROM FinanceManagers
WHERE (((fi1_FinanceManagers.Active)=1))
GROUP BY fi1_FinanceManagers.userid
ORDER BY First(fi1_FinanceManagers.LastName), First(fi1_FinanceManagers.FirstName);

how do i return 1 name for each id without using first()
ASKER CERTIFIED SOLUTION
Avatar of jaanth
jaanth

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial