Hi all; This is an elementary SQL question but with the resources at hand (I am somewhat isolated at the moment)I turn to this forum.
I need to query a database for a series of values e.g.
"select from database column1, column2, column3, for" etc.
Which returns a large set of data. Values from column1 take specific values; i.e. a series of lines with value if 235.7 followed by a series of lines with a value of 285.8. For these subsets values in column2 and/or column3 may be quite variable. I am only interested in the line that contains the maximum value in column2 for any particular subset.
Thank you in advance!
I need to query a database for a series of values e.g.
"select from database column1, column2, column3, for" etc.
Which returns a large set of data. Values from column1 take specific values; i.e. a series of lines with value if 235.7 followed by a series of lines with a value of 285.8. For these subsets values in column2 and/or column3 may be quite variable. I am only interested in the line that contains the maximum value in column2 for any particular subset.
Thank you in advance!