Hierarchical Data with Sqlite

This source is my practice about the idea of storing hierarchical data. It is implemented in the Python using qslite.

My data is:

1 animal 28
-2 carnivore 15
–3 lion 4
–5 crocodile 8
—6 alligator 7
–9 tiger 10
–11 cheetah 12
–13 wolf 14
-16 herbivore 23
–17 horse 18
–19 cow 20
–21 zebra 22
-24 omnivore 27
–25 human 26

Advertisements

Leave a comment

Filed under Python

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s