jia-kai / uSQL

uSQL stands for unnamedSQL, a course project for Introduction to Database Systems in 2014 fall, Tsinghua University.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uSQL

uSQL stands for unnamedSQL, a course project for Introduction to Database Systems in 2014 fall, Tsinghua University.

How to run

  • Install bison, flex etc.
  • Run make
  • ./usql or ./usql < input.sql

Command line options

  • -d target.db: use target.db as target directory, databases will be stored here
  • -t: print execution time after every sql sentences
  • -v: more verbose
  • -g: enable debug on parser
  • -h: help

Supported SQL Statement

see parser/sql.yy

TODO

  • Better support for NULL
  • Show meaningful information on "syntax error"
  • Improve peformance when selecting from multiple tables
  • Write more TODOs

About

uSQL stands for unnamedSQL, a course project for Introduction to Database Systems in 2014 fall, Tsinghua University.

License:The Unlicense


Languages

Language:C++ 98.5%Language:CMake 0.6%Language:Makefile 0.4%Language:Python 0.3%Language:TeX 0.1%Language:C 0.1%