SQL - Advanced Query Patterns
Given the table
What rows will this query return?
events(event_id, start_date, end_date) with data:1, '2024-05-01', '2024-05-05'
2, '2024-05-04', '2024-05-10'
3, '2024-05-11', '2024-05-15'What rows will this query return?
SELECT * FROM events WHERE start_date <= '2024-05-06' AND end_date >= '2024-05-04';