pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nikolay Mijaylov <nmmm@nmmm.nu>
To: Eric BARROCA <eric@netsystems.fr>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] INSERT and SELECT
Date: Fri, 10 Dec 1999 18:43:15 +0200
Message-ID: <002701bf432d$a8f549a0$ce2a18c3@skillbrokers.bg> (raw)
References: <87n1riu7bx.fsf@venus.fondation>

As i know PgSQL support subqueryes only in Where part
--------------------------------------------------------------
The reboots are for hardware upgrades!
"http://www.nmmm.nu; <nmmm@nmmm.nu>

----- Original Message -----
From: Eric BARROCA <eric@netsystems.fr>
To: <pgsql-sql@postgreSQL.org>
Sent: ïåòúê, Äåêåìâðè 10, 1999 05:46
Subject: [SQL] INSERT and SELECT


> Hi,
>
> I've tried this query with PostgreSQL, but it doesn't work. Could anyone
> explain me why and what must I do to get the same result ?
> Query example : "INSERT INTO table VALUES (
> (SELECT oid FROM membre WHERE email="toto@toto.com"),
> "test");"
> I get the error : "parse error near select".
>
> I've been searched in the manual and with deja.com but I haven't found
> something about this.
> This query works with mysql (and it's the only one query that works with
> this RDBMS ;-)
>
>
> Thanks,
>
> Éric.
>
> --
> Éric BARROCA               | Logiciels Libres, Conception
Intranet/Extranet,
> E-Mail: eric@netsystems.fr | Sites Web dynamiques, Commerce électronique,
> Tel: +33 (0)2 48 21 54 67  | Formations (Unix/Linux, Perl, etc.),
Réseaux...
> GSM: +33 (0)6 16 35 33 25  | NetSystems : <http://www.netsystems.fr;
>
> ************




view thread (9+ messages)  latest in thread

Message-ID: <002701bf432d$a8f549a0$ce2a18c3@skillbrokers.bg>
Permalink:  ../002701bf432d$a8f549a0$ce2a18c3@skillbrokers.bg/
Also on:    postgresql.org/message-id/002701bf432d$a8f549a0$ce2a18c3@skillbrokers.bg

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: nmmm@nmmm.nu, eric@netsystems.fr
  Subject: Re: [SQL] INSERT and SELECT
  In-Reply-To: <002701bf432d$a8f549a0$ce2a18c3@skillbrokers.bg>
  References: <87n1riu7bx.fsf@venus.fondation> <002701bf432d$a8f549a0$ce2a18c3@skillbrokers.bg>

* 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