diff --git a/ydb/tests/functional/canonical/sql/join/join_to_idx_lookup.sql b/ydb/tests/functional/canonical/sql/join/join_to_idx_lookup.sql index 7e6378b5025c..a888b6f062b1 100644 --- a/ydb/tests/functional/canonical/sql/join/join_to_idx_lookup.sql +++ b/ydb/tests/functional/canonical/sql/join/join_to_idx_lookup.sql @@ -5,4 +5,5 @@ LEFT JOIN InputJoin2 AS t2 ON t1.Fk21 == t2.Key1 AND t1.Fk22 == t2.Key2 LEFT JOIN InputJoin3 AS t3 ON t2.Fk3 == t3.Key -WHERE t1.Value == "Value2" OR t1.Value == "Value3"; +WHERE t1.Value == "Value2" OR t1.Value == "Value3" +ORDER BY t3.Value;