You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND Month(Date_rc)=09 AND Year(Date_rc)=2024 AND MDP='a07ff35c1e23672c4754f6ffb5' at line 11
September 2024
09
Profits
Metal
Crystal
Deuterium
Consumption
Nb CR
Global profits