D
D
dNertyco2021-11-21 15:20:38
SQL
dNertyco, 2021-11-21 15:20:38

How can I select all rows that have a specific date between start_date and end_date, let's say a month?

How can I select all rows that have a specific date between start_date and end_date, let's say a month?
The overall task is to select everything that was active in a certain month of a certain year somehow.
I hope I wrote clearly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
idShura, 2021-11-21
@dNertyco

select * from my_table where <Определенная дата> between start_date and end_date

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question