basic skeletons of update and delete added
This commit is contained in:
9
main.cpp
9
main.cpp
@@ -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"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user