QUERY: select wiz_odds_api_events.id from wiz_odds_api_sports join wiz_odds_api_events on wiz_odds_api_events.sport_id = wiz_odds_api_sports.id where wiz_odds_api_sports.`key` = 'mma_mixed_martial_arts' and wiz_odds_api_events.slug = 'sean-o'malley-vs-pedro-munhoz' and wiz_odds_api_events.region = 'us' order by wiz_odds_api_events.commence_time desc LIMIT 1;
ERROR: 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 'malley-vs-pedro-munhoz' and wiz_odds_api_events.region = 'us' order by wiz_odds' at line 1