题解 | extract函数理解
返回 2020 年 1 月的所有订单的订单号和订单日期
https://www.nowcoder.com/practice/c7734db33854477aa94ae238a3390435
select order_num, order_date from Orders where extract(year from order_date) = '2020' and extract(month from order_date) = '01' order by order_date