Creates simplified SQL object that can be converted to string . used now to replicate MYSQL into Postgresql