My car wants me to walk

car stalled on my way home. engine rotated but didn’t restart so i had it towed to a mechanic and after letting it sit overnight it started up. told me it was maybe the fuel pump and or filter (and just my luck i was told he doesn’t touch fuel systems) so took it to mechanice #2 and was told it was just my battery terminal connections were loose (but i still had power after the stall). folling day on my way out again …engine rotates but doesn’t start. what is it rally?

oops this might help…
saturn sc 97 just hit 100,000 miles , tested but no codes found,

The first two things to have checked are the Crankshaft Position Sensor and the Ignition Module. Either of these can fail when they get hot, and function again once they cool back down.

Tester