Check out example codes for "query less than datetime sql". It will help you in understanding the concepts better.

Code Example 1

select *  
from dbo.March2010 A 
where A.Date >= '2010-04-01'

Learn ReactJs, React Native from akashmittal.com