MS Access select between two dates?

后端 未结 2 2036
陌清茗
陌清茗 2021-01-28 01:23

I have searched, but all results didn\'t help me to understand.

I need to select names of people who are 18-23 years old. So my try was:

WHERE ((People.         


        
2条回答
  •  温柔的废话
    2021-01-28 02:07

    Finally solved it by simple

    WHERE ((People.Birth) Between (Now()- 365*18) And (Now()-365*23))
    

    If you have better solution- welcome

提交回复
热议问题