Cordoba (Spain) is about 135 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Malaga.
How far is Saint Paul, MN from the ocean
How far is Franklin, TN from the ocean
How far is Port Angeles from the ocean
How far is Tiburon from the ocean
How far is Wichita from the ocean
How far is Raleigh from the ocean
How far is Anaheim from the ocean
How far is Hermosa Beach from the ocean
How far is Jackson, WY from the ocean
How far is Lombok from the ocean