Erreur SQL !
SELECT IDStatsJour from statsjour where IDClient=17991 AND Date='2020-10-26'