B
Bill
I have a query that will return a large quantity
of records based on a date. Associated with
each of these records is the name of an
account to which the date applies. I'd like
a version of that query that will only return
the first and only occurrence of any account
name found.
Example:
Existing query returns:
AccID Account Name
1010 Misc Income
1010 Misc Income
1010 Misc Income
1015 Rent Income
1015 Rent Income
3010 Taxable
3010 Taxable
3010 Taxable
What I'd like returned:
1010 Misc Income
1015 Rent Income
3010 Taxable
I can't find any SQL functions or operators
like NoDuplicate(AccID) that would limit
the query to only the first occurrence found.
Bill
of records based on a date. Associated with
each of these records is the name of an
account to which the date applies. I'd like
a version of that query that will only return
the first and only occurrence of any account
name found.
Example:
Existing query returns:
AccID Account Name
1010 Misc Income
1010 Misc Income
1010 Misc Income
1015 Rent Income
1015 Rent Income
3010 Taxable
3010 Taxable
3010 Taxable
What I'd like returned:
1010 Misc Income
1015 Rent Income
3010 Taxable
I can't find any SQL functions or operators
like NoDuplicate(AccID) that would limit
the query to only the first occurrence found.
Bill