Re: count(*)

Поиск
Список
Период
Сортировка
От Martín Marqués
Тема Re: count(*)
Дата
Msg-id 01070415440500.16423@bugs
обсуждение исходный текст
Ответ на Re: count(*)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Mié 04 Jul 2001 02:41, Tom Lane wrote:
> >> 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

Does this mean I would get the same as if I didn't have the count(*), but 
with the additional count(*) column at the end of each row?

Saludos... :-)


-- 
Cualquiera administra un NT.
Ese es el problema, que cualquiera administre.
-----------------------------------------------------------------
Martin Marques                  |        mmarques@unl.edu.ar
Programador, Administrador      |       Centro de Telematica                      Universidad Nacional
        del Litoral
 
-----------------------------------------------------------------


В списке pgsql-sql по дате отправления:

Предыдущее
От: Gary Stainburn
Дата:
Сообщение: Re: My First Function
Следующее
От: DI Hasenöhrl
Дата:
Сообщение: Kind of error-handler in a pgsql function