Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要查询以获取两天之间的数据。我试过这个。但它给出了表的所有记录。中间运算符不起作用。
Select * From Test Where strftime('%d-%m-%Y',Date) Between '01-06-2012' And '30-06-2012'
我怎样才能解决这个问题?
试试这个,
Select * From Test Where strftime('%Y%m%d',Date) Between '20120601' And '20120630'