a celko-puzzle from long time ago

Поиск
Список
Период
Сортировка
От stig erikson
Тема a celko-puzzle from long time ago
Дата
Msg-id eilbl4$749$1@floppy.pyrenet.fr
обсуждение исходный текст
Ответы Re: a celko-puzzle from long time ago
Список pgsql-sql
While reading celko's SQL puzzles (second edition) i followed a reference to http://www.dbmsmag.com/9801d06.html.
There is a puzzle that counts items in boxes.
When i try to run the proposed solution on PG 8.1.5, PG says: ERROR:  column reference "qty" is ambiguous


apparently the variable declaration used in the solution is not proper for PostgreSQL. Is there a way to solve this
puzzlein PostgreSQL?
 

/stig


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

Предыдущее
От: Rares Vernica
Дата:
Сообщение: show privileges
Следующее
От: "Anonymous"
Дата:
Сообщение: Re: Function to reset sequence.....