added sql.py
added sql.py