表:訂單查詢成果
Column Datatype
------ --------
orderid int
orderdate date
customerid int
我們需要查詢其返回放置在2016年6月
我試圖
Select orderid
from Orders
where orderdate between 2016-06-01 and 2016-06-30
它的訂單給出錯誤,因爲與int
作品之間only.How現在要做達到這個目的?