Re: Newbie table definition question

From: Steven Klassen <sklassen(at)commandprompt(dot)com>
To: Ken Tozier <kentozier(at)comcast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Newbie table definition question
Date: 2004-10-17 00:54:06
Message-ID: 20041017005404.GD19149@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Steven Klassen <sklassen(at)commandprompt(dot)com> [2004-10-16 17:42:17 -0700]:

> INSERT INTO grocery_items (grocery_types_id, name, price) VALUES (1, 'Apple', '0.50');
> INSERT INTO grocery_items (grocery_types_id, name, price) VALUES (1, 'Orange', '0.75');
>
> INSERT INTO grocery_items (grocery_types_id, name, price) VALUES (1, 'Brocolli', '1.35');
> INSERT INTO grocery_items (grocery_types_id, name, price) VALUES (1, 'Lettuce', '2.55');

The grocery_types_id should be '2' for the last two rows. Whoops.

--
Steven Klassen - Lead Programmer
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Replication & Support Services, (503) 667-4564

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2004-10-17 02:46:49 Re: pgsql cvs
Previous Message Steven Klassen 2004-10-17 00:42:17 Re: Newbie table definition question