摘要:
with MiPriceTopOne as (select classid,max(dataTime) dataTime,max(id) as id from MiPrice group by classid)select * from MiPrice where id in (select id 阅读全文
摘要:
select GETDATE() as '当前日期',DateName(year,GetDate()) as '年',DateName(month,GetDate()) as '月',DateName(day,GetDate()) as '日',DateName(dw,GetDate()) as ' 阅读全文