Need some SQL help

Поиск
Список
Период
Сортировка
От Brian Ward
Тема Need some SQL help
Дата
Msg-id anplc4$3ci$1@news.hub.org
обсуждение исходный текст
Ответы Re: Need some SQL help
Список pgsql-sql
I have a table
id         int
status    int
create_dt datetime

When users log in and out I insert a row into this table throughout the day.
I'm trying though to come up with a querie to tell me and ordering of users
as they report in in the morning so i'm trying to say
select each user and the earliest time the logged in in a give day, then
order that by the create_dt column.

Having trouble writing the SQL though




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

Предыдущее
От: "Brian Ward"
Дата:
Сообщение: Re: timestamp
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: [GENERAL] arrays