Simple question : Find older CHILD for each PARENT

2004-01-27 Thread Benjamin PERNOT
Hi, I have a simple problem that I don't know how to solve with mysql. I have 2 tables, a parent table and a child table. parent: --- | p_id | name | --- | 1| A | | 2| B | | ... |... | | 112 | C | | 113 | D |

Re: Simple question : Find older CHILD for each PARENT

2004-01-27 Thread Chuck Gadd
Benjamin PERNOT wrote: I want to get a list of all the parents with the age and the name of the older child they've got. Let's say that a parent can't have 2 children with the same age. I can solve my problem by using multiple queries but that's not very clean and a bit heavy (especially if