No tournaments for selected period -- SELECT *, td.TournamentId as tdTournId FROM TournamentDefinitions td, RankingTournamentDefinitions rtd WHERE td.TournamentId=rtd.TournamentId AND RankingSystemId=20 AND FromTime >= '2022' AND FromTime < '2023' ORDER BY FromTime