basic skeletons of update and delete added

This commit is contained in:
2021-07-08 20:51:03 +02:00
parent e44b72ce53
commit ddb9441e23
9 changed files with 308 additions and 72 deletions

View File

@@ -17,12 +17,15 @@ int main(int argc, char *argv[]) {
"insert into a (i, s) values(2, 'two')",
"insert into a (i, s) values(3, 'two')",
"insert into a (i, s) values(4, 'four')",
"insert into a (i, s) values(5, 'five')",
"select i, s from a where i > 2",
"select i, s from a where i = 1",
"select i, s from a where s = 'two'",
"select i, s from a where i <= 3"
// "update a set s = 'three' where i = 3"
// "delete from a where i = 3"
"select i, s from a where i <= 3 and s = 'one'",
"update a set f = 9.99 where i = 3",
// "update a set s = 'three', f = 1.0 + 2.0 where i = 3",
"select i, s, f from a where i = 3"
// "delete from a where i = 4",
// "select i, s from a where i > 0"
};