DISTINCT & GROUP BY
成功志
DISTINCT & GROUP BY
2012-4-29 ok12
Select left(convert(varchar(10),f_xstime,120),7) f_xstime from xs_records group by left(convert(varchar(10),f_xstime,120),7) order by f_xstime desc

Select distinct left(convert(varchar(10),f_xstime,120),7) f_xstime from xs_records  order by f_xstime desc
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容