Subject | Re: [firebird-support] Re: Crosstab |
---|---|
Author | Richard Wesley |
Post date | 2006-05-05T20:17:13Z |
On May 5, 2006, at 05:33, Jason Dodson wrote:
From MyTable
Group By 1
?
________________________________________________________
Richard Wesley Software Engineer
Tableau Software
http://www.tableausoftware.com/ hawkfish
tableausoftware com
> 'Group By' by itself may not be sufficient. I know there are hoopsselect cast(MyDate as Date), count(cast(MyDate as Date))
> we have to jump through here to group by a date,
> because the time is almost always different. You would need
> something like:
>
> Select (Extract(Month from MyDate) || '/' || Extract(Day from
> MyDate) || '/' || Extract(Year from MyDate)) as
> JustTheDate, count(Extract(Month from MyDate) || '/' || Extract(Day
> from MyDate) || '/' || Extract(Year from MyDate))
> From MyTable
> Group By 1
From MyTable
Group By 1
?
________________________________________________________
Richard Wesley Software Engineer
Tableau Software
http://www.tableausoftware.com/ hawkfish
tableausoftware com