mysql między datą rozpoczęcia a datą końcową
SELECT
*
FROM
tlcc_talent_periode
WHERE
company = '1000'
AND (
(start_date >= '2022-04-01' AND end_date <= '2022-04-01')
OR
(start_date <= '2022-04-30' AND end_date >= '2022-04-30' )
OR
(start_date <= '2022-04-01' AND end_date >= '2022-04-01')
OR
(start_date >= '2022-04-30' AND end_date <= '2022-04-30' )
)
Satriags