I have a table with the below data.
| EmployeeName | Country | TravelFromDate | TravelToDate |
|---|---|---|---|
| A | India | 06/01/2021 | 06/18/2021 |
| B | Nepal | 06/10/2021 | 06/15/2021 |
| c | Bhutan | 06/12/2021 | 06/17/2021 |
Now I have two textbox(FromDate and ToDate) in web app where I select date '06/10/2021' and '06/11/2021'. So as per logic 3 records should come as 3 employess are travelling between this two dates.
Now what will the sql query for this scenario.