simple sql script to generate several lines of sql