pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Rado Petrik <r.p@szm.sk>
Cc: PostgreSQL-mailinglist <pgsql-sql@postgresql.org>
Subject: Re: Problem with Attribute.
Date: Tue, 6 May 2003 13:01:04 -0200 (GMT+2)
Message-ID: <Pine.LNX.4.44.0305061300290.21554-100000@matrix.gatewaynet.com> (raw )
In-Reply-To: <1052212666.551.29.camel@caj >
On 6 May 2003, Rado Petrik wrote:
> Hi ,
>
> I have table picture_path.
>
>
> 1. Step one. Write query to psql.
>
>
> power2=# select * from picture_path ;
>
> retur:
>
> id_path | p_path | count
> ---------+--------+--------
> (0 rows)
>
>
> 2. Step two. Write query.
>
> power2=# select count from picture_path;
>
> return:
>
> ERROR: Attribute 'count' not found
> power2=#
>
> Why ?
maybe you need
select "count " from picture_path;
>
>
> This is dump table picture_path.
>
> CREATE TABLE "picture_path" (
> "id_path" int4 DEFAULT nextval('"picture_path_id_path_seq"'::text)
> NOT NULL,
> "p_path" varchar(20) NOT NULL,
> "count " int2 NOT NULL
> );
>
>
> Thanks.
> -
> Rado Petrik <r.p@szm.sk>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
--
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel: +30-210-8981112
fax: +30-210-8981877
email: achill@matrix.gatewaynet.com
mantzios@softlab.ece.ntua.gr
view thread (4+ messages)
Message-ID: <Pine.LNX.4.44.0305061300290.21554-100000@matrix.gatewaynet.com>
Permalink: ../Pine.LNX.4.44.0305061300290.21554-100000@matrix.gatewaynet.com/
Also on: postgresql.org/message-id/Pine.LNX.4.44.0305061300290.21554-100000@matrix.gatewaynet.com
copy link · copy postgr.es
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: achill@matrix.gatewaynet.com, r.p@szm.sk
Subject: Re: Problem with Attribute.
In-Reply-To: <Pine.LNX.4.44.0305061300290.21554-100000@matrix.gatewaynet.com>
* 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