MaxQueryProblem.mdb (beginner) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 31 Jul 2008 at 11:21pm |
Please consider donating $1 per sample downloaded, find out why here. MaxQueryProblem.mdb
The Problem: You want to create a query which will return a MAX Date and the corresponding Amount, grouping them on the Customer Name.
It shows why you should not use two aggregate functions (like MAX) in a query, and two different ways to solve the problem correctly. Download |
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |