Created first query for transformation from WF to DF