sql query between date not picking up row

Clash Royale CLAN TAG#URR8PPP
sql query between date not picking up row
Between dates is excluding the last date?
See below: (show all includes SO47 on 2018-06-30)
SELECT order_number, requested_ship_date FROM tv_sales_orders
order_number
requested_ship_date
tv_sales_orders

When I do between statment:
SELECT order_number, requested_ship_date FROM tv_sales_orders WHERE requested_ship_date between '2018-06-01' and '2018-06-30'
order_number
requested_ship_date
tv_sales_orders
requested_ship_date
There is NO SO47 which is on the 2018-06-30?

1 Answer
1
try below:
SELECT order_number, requested_ship_date FROM tv_sales_orders WHERE requested_ship_date >='2018-06-01' and requested_ship_date<='2018-06-30
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.