简化sql语句
select left(FarcLocationDate,len(@FDateMin)) AS FDate,left(FtypeCo,len(@FTypeCo)+3 ) AS FTypeCo
from archives
group by left(FarcLocationDate,len(@FDateMin)),left(FtypeCo,len(@FTypeCo)+3)
这个东西因为出现有多次,所以,我怎么把它简化表示成:
left(FarcLocationDate,len(@FDateMin)) as FDate 的样子?在sql语句中可以用?