time difference

Поиск
Список
Период
Сортировка
От Johann Höchtl
Тема time difference
Дата
Msg-id 381452F1.BBFF0A26@bigfoot.com
обсуждение исходный текст
Список pgsql-general
Hello !

I have a table say td with two attributes a and b, both of type time.
All i want to do is to calculate the difference in seconds between this
two time values. The value of b should always be greater then the one of
a.

How can i do this ? Allready tried a lot with all the functions \df
showed me but did´nt got closer....

Help would be highly appriciated !

lG,
    John

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

Предыдущее
От: Bob Kline
Дата:
Сообщение: Re: [GENERAL] Import data from a file
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [GENERAL] Import data from a file