Query Error: SELECT nfl_1.ID, nfl_1.datetime, nfl_1_markets.ID AS fuID, nfl_1.fuyear AS fuYear, nfl_1_outcomes.outcome AS fuOutcome, nfl_1_prices_.am AS FROM nfl_1 JOIN nfl_1_markets ON nfl_1.ID = nfl_1_markets.game_id JOIN nfl_1_outcomes ON nfl_1_markets.ID = nfl_1_outcomes.mkt_id JOIN nfl_1_prices_ ON nfl_1_outcomes.ID = nfl_1_prices_.outcome_id WHERE fuyear >= 57 AND MONTH(nfl_1.datetime) = 8 AND nfl_1_outcomes.outcome = "Baltimore Ravens" GROUP BY fuyear ORDER BY nfl_1.datetime ASC;
Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM nfl_1 JOIN nfl_1_markets ON nfl_1.ID = nfl_1_markets.game_id JOIN nf...' at line 2
The following are the league schedule results.
| Event Year | Odds Date | Side |
|---|