题解 | #返回 2020 年 1 月的所有订单的订单号和订单日期#

返回 2020 年 1 月的所有订单的订单号和订单日期

http://www.nowcoder.com/practice/c7734db33854477aa94ae238a3390435

使用函数extract(year/month.. from 日期)抽取特定的值 select order_num,order_date from Orders where extract(month from order_date)=1 order by order_date asc;

全部评论

相关推荐

点赞 评论 收藏
分享
评论
4
1
分享

创作者周榜

更多
牛客网
牛客企业服务