Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
group_by_expression
/
extract_month_from_date_with_cast.sql
blob: ada51692ee38ce3d5617fbbcf177ceceb84ba46e [
file
] [
log
] [
blame
]
select
cast
(
extract
(
month
from
c_date
)
as
bigint
)
from
alltypes
group
by
cast
(
extract
(
month
from
c_date
)
as
bigint
)
order
by
cast
(
extract
(
month
from
c_date
)
as
bigint
);