view of weekly data

Поиск
Список
Период
Сортировка
От Ding Xiangguang
Тема view of weekly data
Дата
Msg-id 543CACD7FF1C4F4AB587CC0864E94EC603B5E31D@EMHQ05B.singtel.corp.root
обсуждение исходный текст
Ответы Re: view of weekly data
Список pgsql-sql
Hi, friend,

Suppose there is table of daily transaction data with 5 fields,

time(date), open(float8), high(float8), low(float8), close(float8)

Is it possible to create a view of weekly data, i.e. open is the first day'open, high is the highest of the week, low
isthe lowest of the week, close is the last day's close. 

Thank you.


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

Предыдущее
От: "garhone"
Дата:
Сообщение: SELECT on a to-be-determined table
Следующее
От: Adam Alkins
Дата:
Сообщение: Btrieve to PostgreSQL