initial sql and test python