Code Monkey home page Code Monkey logo

simpledatabasekernel's Introduction

SimpleDatabaseKernel

Implement a simple database kernel

1、这个项目大致是实现一个简易的数据库内核,可以实行简单的sql语句的查询,如数据库的创建、删除,表的创建、删除,以及插入语句等。 2、如果你对DFA,NFA,简易的文法翻译,B +树的实现,以及你也想要实现同类项目,那么这个项目可能会你有所帮助。

本项目仅支持简单的SQL语句,有如下
the project support simple SQL statement,as follow
create database id 创建库
use id 使用库
drop id 删除库
create table id( 创建表
id int,
id float,
id char( 数字) 最后一个不要有逗号,这是个BUG,因为时间原因,还未解决
)
仅支持int,float,char(数字)三种类型
delete table id 删除表
delete from id 删除数据
where ….
select *from id,id... 查询
select column_name,column_name where id compare_symob id logic id......
update id 更新数据
set column_id = values
where column_id = values and ... operator = <= >= > <
insert into id values(values,values...) 插入数据
运行方式:
在cmd上寻找程序文件,然后输入simpleDatabaseKernel -c 文件路径及名字

running mode:
First find program file in cmd ,and then input simpleDatabaserKernel -c file path and name

simpledatabasekernel's People

Contributors

wangquanliu avatar

Stargazers

Saar avatar Eason Wang avatar Pengqi Y avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.