| From: | "Nikolay Mijaylov" <nmmm(at)nmmm(dot)nu> |
|---|---|
| To: | "Eric BARROCA" <eric(at)netsystems(dot)fr> |
| Cc: | <pgsql-sql(at)postgreSQL(dot)org> |
| Subject: | Re: [SQL] INSERT and SELECT |
| Date: | 1999-12-10 16:43:15 |
| Message-ID: | 002701bf432d$a8f549a0$ce2a18c3@skillbrokers.bg |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
As i know PgSQL support subqueryes only in Where part
--------------------------------------------------------------
The reboots are for hardware upgrades!
"http://www.nmmm.nu; <nmmm(at)nmmm(dot)nu>
----- Original Message -----
From: Eric BARROCA <eric(at)netsystems(dot)fr>
To: <pgsql-sql(at)postgreSQL(dot)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(at)toto(dot)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(at)netsystems(dot)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>
>
> ************
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Eric BARROCA | 1999-12-10 16:49:35 | Re: [SQL] INSERT and SELECT |
| Previous Message | Vladimir Terziev | 1999-12-10 16:38:36 | Re: [SQL] INSERT and SELECT |