modify the cat sql problem