Skip to content

Latest commit

 

History

History
70 lines (60 loc) · 1.55 KB

README.md

File metadata and controls

70 lines (60 loc) · 1.55 KB

TadisSQL - A simple relational database

image

Running

image

Table of Contents

Introduction

Tadis is a relational database and it's my personal project. This system was developed for educational purposes and should not be used in production environments. Tadis supports poor SQL's grammers.

Install

Linux

> git clone https://github.com/Haibarapink/tadis.git
> cd tadis
> mkdir build && cd build
> cmake ../
> make 

...

Usage

COMMAND

  • .quit
  • .show tables

SQL

  • Create table example
CREATE TABLE school (name varchar(200), age int);

Supports SQL types: VARCHAR(size), CHAR(size), FLOAT, INT.

  • Insert example
INSERT INTO school VALUES ('AAU', 55);
  • Select example
SELECT * FROM school;
SELECT school.name , school.age FROM school where age=100, 1>2; 
  • Drop table example
DROP TABLE school;

hf :)