查询两个字段 并用"-" 连接起来
月份表中有三个字段 年、月、结转,值为2000、03、1
怎样用查询语句输出结果为2010-03 这样的格式?
"select 年+月 as 年月 from 月份表"; 怎样改?
怎样用查询语句输出结果为2010-03 这样的格式?
"select 年+月 as 年月 from 月份表"; 怎样改?
作者: a514677803 发布时间: 2011-06-05
参考Cast()、Convert()、Left()函数
作者: hudtiger 发布时间: 2011-06-05