Select query with date condition

前端 未结 4 776
情书的邮戳
情书的邮戳 2020-12-06 16:55

I would like to retrieve the records in certain dates after d/mm/yyyy, or after d/mm/yyyy and before d/mm/yyyy, how can I do it ?

4条回答
  •  没有蜡笔的小新
    2020-12-06 17:41

    select Qty, vajan, Rate,Amt,nhamali,ncommission,ntolai from SalesDtl,SalesMSt where SalesDtl.PurEntryNo=1 and SalesMST.SaleDate=  (22/03/2014) and SalesMST.SaleNo= SalesDtl.SaleNo;
    

    That should work.

提交回复
热议问题