Creates similar queries from single one