Hi,
I'm having a bit of trouble visualising how I would go about constructing a query that does the following:
I have a table 'passports' and a table 'persons', where each person can have more than one passport, as you would expect. The persons I am dealing with mainly have dual nationality. Obviously it is very easy to display, say, all of the US passports or all of the passports for a particular person.
What I want to be able to do is to display the most recent passport issued for a person by each country that has ever issued that person a passport, which is proving logically frustrating for me (as you can probably tell by my garbled language).
If anyone could point me in the correct direction, I would be very grateful.
Many thanks.
I'm having a bit of trouble visualising how I would go about constructing a query that does the following:
I have a table 'passports' and a table 'persons', where each person can have more than one passport, as you would expect. The persons I am dealing with mainly have dual nationality. Obviously it is very easy to display, say, all of the US passports or all of the passports for a particular person.
What I want to be able to do is to display the most recent passport issued for a person by each country that has ever issued that person a passport, which is proving logically frustrating for me (as you can probably tell by my garbled language).
If anyone could point me in the correct direction, I would be very grateful.
Many thanks.
Comment