Re: Hierarchical Query Question (PHP)

From: David Blomstrom <david(dot)blomstrom(at)gmail(dot)com>
To: Andy Colson <andy(at)squeakycode(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hierarchical Query Question (PHP)
Date: 2015-10-30 22:10:21
Message-ID: CAA54Z0ihseOgxH13AiDjK6RJbN32ni+K3VAH4wpeXTVVXc8fWw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Just so I understand what's going on, I can create a lookup table by
pasting this code...

create table taxon (
taxonid serial,
descr text
);
create table gz_life_mammals (
id serial,
taxonid integer, -- use the lookup table
parentid integer -- use the lookup table
);

...into pgAdmin III, right? (I can't use the shell/terminal at the moment,
and it will be at least a few weeks before I can get it fixed.) And this
script will create TWO tables - gz_life_mammals and a matching "lookup
table"?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2015-10-30 22:18:33 Re: Hierarchical Query Question (PHP)
Previous Message Andy Colson 2015-10-30 21:49:19 Re: Hierarchical Query Question (PHP)