Skip to content

Implementation of a database engine that is loosely based on MySQL

Notifications You must be signed in to change notification settings

achyutb6/davisbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

davisbase

Implementation of a database engine that is loosely based on MySQL

Go to the src folder to see the source code. cd src

To create an executable .class file type javac DavisBasePrompt.java

The above steps will create an executable DavisBasePrompt.class file. To run the project use the following command from the src folder: java DavisBasePrompt

On running the above command successfully the following text should be seen: davisql>

We recommend trying out these commands to test the SQL engine:

  1. show databases;

  2. use catalog;

  3. show tables;

  4. help;

  5. select * from davisbase_columns;

  6. select * from davisbase_columns where table_name="davisbase_tables";

  7. CREATE TABLE person (row_id INT PRIMARY KEY, fName TEXT NOT NULL);

  8. insert into person values (1,'achyut');

  9. update person set fname='bhandiwad' where row_id=1;

  10. delete from person;

  11. drop table person;

  12. exit;

About

Implementation of a database engine that is loosely based on MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages