another quick (i hope) query question

roosn

Registered User.
Local time
Today, 21:18
Joined
Jul 29, 2005
Messages
121
hi there

could somebody help in the query design in order to query table 1 (image attached), by showing the maximum weight for each component_id, but also include other details such as the date when the maximum occurred and the event_id, the result as query 2 (image attached)

if i just select component_id and weight, i can do this by selecting max weight, but when i add the date and / or the event_id columns then i get duplicates in the component_id column

any help would be greatly appreciated
 

Attachments

  • table1.jpg
    table1.jpg
    12 KB · Views: 158
  • query2.jpg
    query2.jpg
    10.6 KB · Views: 153
From your screens it looks like you allready have your answer.
 

Users who are viewing this thread

Back
Top Bottom