variables in SQL??

Поиск
Список
Период
Сортировка
От Francisco Hernandez
Тема variables in SQL??
Дата
Msg-id 000f01c0074f$4dcd87e0$700c2304@francisco
обсуждение исходный текст
Список pgsql-general
anyone know if SQL has variables?

what im trying to do is have a Sum of a colum.. as it goes forwards with the
cursor..
like so:

Price|Sum
5|5
4|9
10|19
2|21
7|28

i can do it in the accessing language.. like PHP, Python, Perl etc..
but i wanted to know if the actuall DB could do it?
any ideas?


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

Предыдущее
От: Ned Lilly
Дата:
Сообщение: Re: [HACKERS] Open Source Database Routs Competition in New BenchmarkTests
Следующее
От: Gilles Cuesta
Дата:
Сообщение: Putting PGSQL on several disks