added script for testing sql