Merge pull request #147 from benclmnt/feat/where-and

This commit is contained in:
Pekka Enberg
2024-07-16 21:35:01 +03:00
committed by GitHub
4 changed files with 90 additions and 98 deletions

View File

@@ -96,3 +96,16 @@ Jamie|88
Jamie|41
Jamie|73
}
do_execsql_test where-float-int {
select * from products where price > 50 and name != 'hat';
} {2|cap|82.0
5|sweatshirt|74.0
6|shorts|70.0
7|jeans|78.0
8|sneakers|82.0
11|accessories|81.0}
do_execsql_test where-multiple-and {
select * from products where price > 50 and name != 'sweatshirt' and price < 75;
} {6|shorts|70.0}