pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: silly sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: Re: Postgresql database
Date: Fri, 14 May 2010 13:14:01 +0400
Message-ID: <4BED1459.3080405@bankir.ru> (raw)
In-Reply-To: <AANLkTikmPaFrIhuYUkxuhsC6kRgRJlmb0IfFAb7EE2x-@mail.gmail.com>
References: <AANLkTikmPaFrIhuYUkxuhsC6kRgRJlmb0IfFAb7EE2x-@mail.gmail.com>

On 05/14/10 12:42, Trinath Somanchi wrote:
> Hi All,
>
> I have Tree structured database to maintain.
>
> Its as follows.
>
> Vehicles

u r talking about a single entity vehicles
it is very common to represent a single entity with a single table

and IF u also have to have an entity "class of vehicles"
u r free to declare the second table named "class"

and IF u also have to represent a reference of manfacturers, another one 
table u have to create then.

that's trivial case



view thread (6+ messages)  latest in thread

Message-ID: <4BED1459.3080405@bankir.ru>
Permalink:  ../4BED1459.3080405@bankir.ru/
Also on:    postgresql.org/message-id/4BED1459.3080405@bankir.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sad@bankir.ru
  Subject: Re: Postgresql database
  In-Reply-To: <4BED1459.3080405@bankir.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox