题解 | #返回指定日的所有订单的订单号和订单日期#
返回 2020 年 1 月的所有订单的订单号和订单日期
https://www.nowcoder.com/practice/c7734db33854477aa94ae238a3390435
select order_num, order_date from Orders where year(order_date) like '2020' and month(order_date) like '1' order by order_date;
使用日期函数month(date),获得指定date的月份时不能写‘01’。