标签:tab pos group ... post rom time style 分组
Select
EXTRACT(year from cast(joindate as timestamp)) as Year,
EXTRACT(month from cast(joindate as timestamp)) as Month,
EXTRACT(day from cast(joindate as timestamp)) as Day,
......
From Table
Group by Year,Month,Day
标签:tab pos group ... post rom time style 分组
原文地址:http://www.cnblogs.com/Ryan2012/p/6641649.html