simpletuple + script sql