Advertisement

04.30.2008 at 10:22AM PDT, ID: 23366129
[x]
Attachment Details

how do I return min and max values from different records

Asked by NoelAlford in Databases Miscellaneous, Microsoft Access Database, MS SQL Server

Tags: Microsoft, Access or SQL, 2003, Query returning min and max values from different records, Access or SQL

I have a table in Access which look like this:[field name] value
record 1
[file] 00000001
[Beg#] 00000001_01
[End#] 00000001_01

record 2
[file] 00000001
[Beg#] 00000001_02
[End#] 00000001_02

I need the lowest [Beg#] and the highest [End#] for every [file] returned like so:
NEW record
[Beg#] 00000001_01
[End#] 00000001_02

I can dump the data into sql if that will make it easier.Start Free Trial
[+][-]04.30.2008 at 10:35AM PDT, ID: 21472881

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Databases Miscellaneous, Microsoft Access Database, MS SQL Server
Tags: Microsoft, Access or SQL, 2003, Query returning min and max values from different records, Access or SQL
Sign Up Now!
Solution Provided By: capricorn1
Participating Experts: 4
Solution Grade: A
 
 
[+][-]04.30.2008 at 10:36AM PDT, ID: 21472893

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 10:40AM PDT, ID: 21472937

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 10:43AM PDT, ID: 21472964

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 10:47AM PDT, ID: 21472990

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 10:47AM PDT, ID: 21472994

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 10:58AM PDT, ID: 21473094

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 11:22AM PDT, ID: 21473291

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 11:41AM PDT, ID: 21473438

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 12:11PM PDT, ID: 21473676

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 01:00PM PDT, ID: 21474094

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628