pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Victor Yegorov <viy@nordlb.lv>
To: Rado Petrik <r.p@szm.sk>
Cc: PostgreSQL-mailinglist <pgsql-sql@postgresql.org>
Subject: Re: Problem with Attribute.
Date: Tue, 6 May 2003 12:55:50 +0300
Message-ID: <20030506095550.GI16791@nordlb.lv> (raw)
In-Reply-To: <1052212666.551.29.camel@caj>
References: <1052212666.551.29.camel@caj>

* Rado Petrik <r.p@szm.sk> [06.05.2003 12:54]:
> power2=# select count from picture_path;
> 
> return: 
> 
> ERROR:  Attribute 'count' not found
> power2=# 
> 
> Why ? 

count() is a function.
so:

select count(*) from picture_path;

-- 

Victor Yegorov

view thread (4+ messages)  latest in thread

Message-ID: <20030506095550.GI16791@nordlb.lv>
Permalink:  ../20030506095550.GI16791@nordlb.lv/
Also on:    postgresql.org/message-id/20030506095550.GI16791@nordlb.lv

 · 

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: viy@nordlb.lv, r.p@szm.sk
  Subject: Re: Problem with Attribute.
  In-Reply-To: <20030506095550.GI16791@nordlb.lv>

* 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