pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martín Marqués <martin@bugs.unl.edu.ar>
Cc: Alex Pilosov <alex@pilosoft.com>
Cc: pgsql sql Mailing List <pgsql-sql@postgresql.org>
Subject: Re: count(*)
Date: Tue, 03 Jul 2001 19:41:24 -0400
Message-ID: <26536.994203684@sss.pgh.pa.us> (raw)
In-Reply-To: <0107031917490C.11918@bugs>
References: <Pine.BSO.4.10.10107031817120.18587-100000@spider.pilosoft.com>
	<0107031917490C.11918@bugs>

>> You probably mean:
>> select car, tit, (select count(*) from auto) from auto

I think he probably wants

	select car, tit, count(*) from auto group by car, tit

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <26536.994203684@sss.pgh.pa.us>
Permalink:  ../26536.994203684@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26536.994203684@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, martin@bugs.unl.edu.ar, alex@pilosoft.com
  Subject: Re: count(*)
  In-Reply-To: <26536.994203684@sss.pgh.pa.us>

* 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