I have query:
expiration >: '01-01-2022' and expiration <: '09-01-2022'
My database:
id | customer_id | type | expiration |
1 | 1 | Test | 03-01-2022 |
2 | 2 |Test2 | 05-01-2022 |
3 | 3 |Test3 | 05-05-2022 |
I want to receive :
1 | 1 | Test | 03-01-2022 |
2 | 2 |Test2 | 05-01-2022 |
But, I get:
1 | 1 | Test | 03-01-2022 |
2 | 2 |Test2 | 05-01-2022 |
3 | 3 |Test3 | 05-05-2022 |
Can you help me?