Skip to content

Commit 777fc9c

Browse files
committed
add test
1 parent f9fa840 commit 777fc9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

enginetest/queries/queries.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9181,6 +9181,11 @@ from typestable`,
91819181
Query: "select pk, (select max(pk) from one_pk where pk < opk.pk) as x from one_pk opk",
91829182
Expected: []sql.Row{{0, nil}, {1, 0}, {2, 1}, {3, 2}},
91839183
},
9184+
{
9185+
// https://github.com/dolthub/dolt/issues/9963
9186+
Query: "select max(i) as max_i from mytable having max(i) < 3",
9187+
Expected: []sql.Row{},
9188+
},
91849189
}
91859190

91869191
var KeylessQueries = []QueryTest{

0 commit comments

Comments
 (0)