pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rado Petrik <r.p@szm.sk>
To: PostgreSQL-mailinglist <pgsql-sql@postgresql.org>
Subject: Problem with Attribute.
Date: 06 May 2003 11:17:47 +0200
Message-ID: <1052212666.551.29.camel@caj> (raw)

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.p@szm.sk>




view thread (4+ messages)  latest in thread

Message-ID: <1052212666.551.29.camel@caj>
Permalink:  ../1052212666.551.29.camel@caj/
Also on:    postgresql.org/message-id/1052212666.551.29.camel@caj

 · 

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: r.p@szm.sk
  Subject: Re: Problem with Attribute.
  In-Reply-To: <1052212666.551.29.camel@caj>

* 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