changes ddl to sql