https://github.com/awmleer/nanosql
A simple SQL Database implementation for "Database System Concepts" course.
https://github.com/awmleer/nanosql
database python python3
Last synced: about 1 year ago
JSON representation
A simple SQL Database implementation for "Database System Concepts" course.
- Host: GitHub
- URL: https://github.com/awmleer/nanosql
- Owner: awmleer
- Created: 2017-05-15T14:51:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-21T13:07:43.000Z (about 9 years ago)
- Last Synced: 2025-04-10T02:11:59.076Z (about 1 year ago)
- Topics: database, python, python3
- Language: CSS
- Size: 3.73 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NanoSQL

### Dependencies
- [clint](https://github.com/kennethreitz/clint) 0.5.1
- python 3.5 or 3.6
- flask
### Sample SQLs
```sql
create table student (
sno char(8),
sname char(16) unique,
sage int,
sgender char (1),
primary key ( sno )
);
```
```sql
create index stunameidx on student ( sname );
```
```sql
insert into student values ('12345678','wy',22,'M');
```
See more test cases at: `test/sample.txt`