[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [GENERAL] Newbie table definition question
From: Steven Klassen <sklassen () commandprompt ! com>
Date: 2004-10-17 0:54:06
Message-ID: 20041017005404.GD19149 () commandprompt ! com
[Download RAW message or body]
* Steven Klassen <sklassen@commandprompt.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
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic