domsPlace/private/database/queries/season/GetSeasonForDate.sql

6 lines
91 B
SQL

SELECT * FROM "Seasons"
WHERE
"startDate" <= ${date} AND
"endDate" >= ${date}
LIMIT 1;