troubleshooting Question

Need help with building a query with LAST function

Avatar of Member_2_7966563
Member_2_7966563 asked on
DatabasesMicrosoft AccessSQL
10 Comments5 Solutions104 ViewsLast Modified:
I have Query A, with fields ColA, ColB, Col C and ColD, and sorted in ascending order of ColA.

I wish to build Query B with fields ColB, Col C and the LAST (ColD) that appears in Query A.

I tried to build the query using SELECT .... GROUP BY. But as soon as I add Col B and Col C as the first two columns, it messes up the original sorting of Query A and affects the result of the function LAST (ColD).
ASKER CERTIFIED SOLUTION
NerdsOfTech
Technology Scientist

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 5 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros