Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.
/ MiniSQL Public archive

A very simple DBMS using C/Lex/Yacc. Compilation Principle assignment in School of Computer, Xidian University.

License

Notifications You must be signed in to change notification settings

Cuiyn/MiniSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniSQL

A very, very simple DBMS using C/Lex/Yacc. Compilation Principle assignment in School of Computer, Xidian University.

Run

First, make sure you have a Unix-like OS (Linux, Mac OS X, etc), because I've used some functions only in POSIX.

Then install Lex and Yacc. In Linux they are called Flex and Bison. And don't forget to get the source code. On Debian/Ubuntu you may do this:

git clone https://github.com/Cuiyn/Minisql && cd Minisql
sudo apt-get install flex bison

Finally, run make in your terminal. Then use ./minisql.

Enjoy it!

Features

  • Simple SQL support such as CREATE, SELECT, DELETE, UPDATE, etc
  • Multiple tables search(Less than 3 tables)
  • WHERE support

License

GNU GENERAL PUBLIC LICENSE

Because this project is one of assignments in Xidian University, please DO NOT CHEAT. I hope you can get inspiration from my code, rather than copy my code directly in your assignment.

If your assignment include any of my code, please tell your teacher and classmates, then make the code public under GPL License. If you are a teacher and doubtful of whether your students are cheating, please do let me know via email: cuiyn6688#hotmail.com. I'm very sorry for any inconvenience.

About

A very simple DBMS using C/Lex/Yacc. Compilation Principle assignment in School of Computer, Xidian University.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published