| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Slackli User | Date: | September 10 2009 2:20pm |
| Subject: | Re: how to query this | ||
| View as plain text | |||
Thanks all the info. Just got what I wanted. 2009/9/10 Wolfgang Schaefer <schaewo@stripped>: > John Daisley schrieb: >> SELECT MAX(value), id FROM table >> GROUP BY id; >> >> >> > > I guess what Slackli had in mind was more something like this: > SELECT id, value > FROM table > WHERE value = (SELECT max(value) FROM table);
| Thread | ||
|---|---|---|
| • how to query this | Slackli User | 10 Sep |
| • RE: how to query this | John Daisley | 10 Sep |
| • Re: how to query this | Wolfgang Schaefer | 10 Sep |
| • Re: how to query this | Slackli User | 10 Sep |
| • Re: how to query this | Claudio Nanni | 10 Sep |
