Movement in water (swimming) and lower back pain

I often hear people in my office talk about how swimming is the ideal sport, because is helps to strengthen core muscles.