A team has finished a game with 18-17-2 runs-hits-errors line 3 times since 1897, most recently Houston Astros on 26 August 2003. That is about one every 147,668 team-games.
Box score for the most recent one ↗
18-16-2 18-16-3 18-16-1 18-17-0 18-17-1 18-17-3 18-17-2 18-18-3 18-18-4 18-18-5 18-18-0 18-18-2 18-18-1
The whole distribution — Runs-Hits-Errors Lines · All 18 shapes