Re: wrong answer

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: wrong answer
Дата
Msg-id 46CAE740.1000304@archonet.com
обсуждение исходный текст
Ответ на wrong answer  ("A. R. Van Hook" <hook@lake-lotawana.mo.us>)
Список pgsql-sql
A. R. Van Hook wrote:
> I have a simple (and incorrect queuer) that gives the wrong answer.
> Can someone show me the correct syntax?
> t
> "select sum(s.ref), r.value, s.ref from registry as s          ^^^
Simple typo - you've used sum() not count()

>     qs "select count(*) from registry where ref =3"

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: "A. R. Van Hook"
Дата:
Сообщение: wrong answer
Следующее
От: tyrrill_ed@emc.com
Дата:
Сообщение: Join question