| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Jeff McKeon | Date: | April 25 2005 7:00pm |
| Subject: | Query question | ||
| View as plain text | |||
I have a table that contains records that link back to a main talbe in a many to one configuration linked by table1.id = table2.parentid Table1 (one) Table2 (many) I want to pull the latest records from table2 for each record in table1 where certain criteria applie. So, if record 100 in table1 links to 5 corresponding records in table2, I want to pull the latest record from table2 where table2.parentid = 100 and table2.user not like 'john' There is a datestamp field in table2. I just can't figure out how to do this. Thanks, Jeff
| Thread | ||
|---|---|---|
| • Query question | Jeff McKeon | 25 Apr |
| • Re: Query question | SGreen | 25 Apr |
| • RE: Query question | mathias fatene | 25 Apr |
| • RE: Query question | SGreen | 25 Apr |
| • RE: Query question | mathias fatene | 25 Apr |
| • Re: Query question | Peter Brawley | 25 Apr |
| • RE: Query question | mathias fatene | 25 Apr |
| • RE: Query question | Jeff McKeon | 25 Apr |
| • Re: Query question | Peter Brawley | 25 Apr |
| • RE: Query question | mathias fatene | 25 Apr |
| • Re: Query question | Peter Brawley | 25 Apr |
| • RE: Query question | SGreen | 25 Apr |
| • RE: Query question | mathias fatene | 26 Apr |
| • Re: Query question | Martijn Tonies | 26 Apr |
| • RE: Query question | mathias fatene | 26 Apr |
| • Re: Query question | Chris Ramsay | 26 Apr |
| • Re: Query question | mfatene | 26 Apr |
| • Re: Query question | Peter Brawley | 25 Apr |
| • RE: Query question | SGreen | 25 Apr |
| • RE: Query question | Jeff McKeon | 25 Apr |
| • Re: Query question | Peter Brawley | 25 Apr |
| • RE: Query question | Jeff McKeon | 25 Apr |
| • Re: Query question | Peter Brawley | 25 Apr |
| • RE: Query question | Jeff McKeon | 25 Apr |
