问个比较low的问题,求大佬解决

第一条select substr(lettertype,0,4),count(1) from slj_info where    lettersrc=2002  and createtime>='${stime}' and createtime<='${etime}' group by substr(lettertype,0,4)
第二条select substr(lettertype,0,4),count(1) from slj_info where    lettersrc=2001  and createtime>='${stime}' and createtime<='${etime}' group by substr(lettertype,0,4)
第三条select substr(lettertype,0,4),count(1) from slj_info where    lettersrc=2003  and createtime>='${stime}' and createtime<='${etime}' group by substr(lettertype,0,4)

怎么写成一句话?

FineReport回音无痕 发布于 2018-5-10 16:09
悬赏:2 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共5回答
最佳回答
0
axing发布于2018-5-10 16:09(编辑于 2023-9-6 09:34)
555
最佳回答
0
Kerydia发布于2018-5-10 16:18(编辑于 2023-9-6 09:34)
555
最佳回答
0
zy_20180110发布于2018-5-10 16:19(编辑于 2023-9-6 09:34)
555
最佳回答
0
liboyu420949524发布于2018-5-10 16:22(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 506浏览人数
  • 最后回答于:2018-5-10 16:24
    活动推荐 更多
    热门课程 更多
    返回顶部