Subject | Re: [firebird-support] distinct query |
---|---|
Author | Helen Borrie |
Post date | 2006-03-23T03:43:46Z |
At 11:25 AM 23/03/2006, you wrote:
What happens if you either 1) take out activity_label from the order
by clause or 2) add activity_label to the select list?
./heLen
>Hi everyone,Ummm...is activity_label actually a column in the view?
> we're having a spot of trouble with a query.
>
>As you can see below we're selecting data from a view using distinct and
>order by...
>
>SELECT DISTINCT activity_id, activity_date
>FROM VIEW_NAME
>ORDER BY activity_date ASC, activity_label
>
>This doesn't return rows ordered by activity_date...
>
>Little help?
What happens if you either 1) take out activity_label from the order
by clause or 2) add activity_label to the select list?
./heLen