Problem with Attribute.

From: Rado Petrik <r(dot)p(at)szm(dot)sk>
To: PostgreSQL-mailinglist <pgsql-sql(at)postgresql(dot)org>
Subject: Problem with Attribute.
Date: 2003-05-06 09:17:47
Message-ID: 1052212666.551.29.camel@caj
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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 ?

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(dot)p(at)szm(dot)sk>

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Popeanga Marian 2003-05-06 09:50:53 Re: Problem with Attribute.
Previous Message Marco Roda 2003-05-06 09:05:46 Re: UNICODE and SQL