I have a database in which items are placed into categories. Some of these categories are nested, so as an example:
Animals > Birds > Parrots
Animals > Birds > Penguin
Animals > Mammals > Cats
Animals > Mammals > Dogs
Animals > Reptiles > Snakes
Plants > Trees
Plants > Flowers
etc
I have these in a table along the lines of
CATEGORY PARENT
Animals -
Birds Animals
Penguin Birds
etc
I'd like to be able to take the starting point of say, Animals and list all of the subcategories that come under that, so for animals we would have listed Birds, Mammals, Reptiles, Parrots, Penguin, Cats, DOgs, Snakes
Is this possible with a single qury? If not, what would I need to do
TIA