Simple database using SQL commands via the command line. It was all written from scratch using advanced C++ knowledge
There are no dependencies except for the standard vector library. All of the data structures used in this project are written from scratch so this project is able to be ran from any compiler.
Command |
---|
select <fields> from <table> where <conditions> |
insert into <table> VALUES(val1, val2, ...) |
create table <table>(col1, col2, ...) |
make table <table>(col1,col2, ...) |
drop <table> |
In addition to the required commands, there are additional useful features.
Command | Description |
---|---|
tables |
Displays a list of the available tables |
batch <file> |
Opens and executes a file containing SQL commands |
exit |
Closes the session |