{"id":16537456,"url":"https://github.com/mrpandya/dbms_from_scratch","last_synced_at":"2025-10-28T14:30:48.957Z","repository":{"id":67847636,"uuid":"374146186","full_name":"mrpandya/DBMS_from_scratch","owner":"mrpandya","description":"A CLI based DBMS made using C++. It supports basic SQL Queries.","archived":false,"fork":false,"pushed_at":"2024-01-05T05:53:05.000Z","size":1448,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T15:22:01.714Z","etag":null,"topics":["algorithms","cpp","data-structures","database","database-management","sql"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrpandya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-06-05T15:18:08.000Z","updated_at":"2025-01-09T03:19:46.000Z","dependencies_parsed_at":"2023-04-08T02:32:25.635Z","dependency_job_id":null,"html_url":"https://github.com/mrpandya/DBMS_from_scratch","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrpandya%2FDBMS_from_scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrpandya%2FDBMS_from_scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrpandya%2FDBMS_from_scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrpandya%2FDBMS_from_scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrpandya","download_url":"https://codeload.github.com/mrpandya/DBMS_from_scratch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238662709,"owners_count":19509653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","cpp","data-structures","database","database-management","sql"],"created_at":"2024-10-11T18:42:28.691Z","updated_at":"2025-10-28T14:30:48.553Z","avatar_url":"https://github.com/mrpandya.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# DBMS made from SCRATCH\n \n [![](https://img.shields.io/badge/Made_with-C++-blue?style=for-the-badge\u0026logo=c++)](https://cplusplus.com/ \"C++\")\n\n### This is a **SQL based Database Management System**. This DBMS works IMPORT, SELECT, INSERT, DELETE queries.\n\u003e This DBMS has a fixed schema and the SQL queries can be run on the Command Line Interface.\n\n\u003c/div\u003e\n\u003cbr\u003e\u003cbr\u003e\n\n### Screenshots:\n![ss1](screenshots/ss1.png)\n![ss2](screenshots/ss2.png)\n![ss3](screenshots/ss3.png)\n![ss4](screenshots/ss4.png)\n![ss5](screenshots/ss5.png)\n\n\n## How to use:\n- Clone the repo :\n```\n$ git clone https://github.com/mrpandya/DBMS_from_scratch.git\n```\n- Go to the repo :\n```\n$ cd DBMS_from_scratch\n```\n- To compile :\n\n\u003e GNU G++ compiler for C++ required\n```\n$ g++ -o driver driver.cpp\n```\n- To execute :\n\u003e Compiled version for linux version has already been added. You can directly run the executable file without compiling\n```\n$ ./driver\n```\n\u003cbr\u003e\u003cbr\u003e\n\n### Schema\n\n|Column Name| Data Type|\n|-----------|----------|\n| id        | INT      |\n| username  | STRING   |\n| email     | STRING   |\n| password  | STRING   |\n\n\u003cbr\u003e\u003cbr\u003e\n\n### Syntax\n\n#### IMPORT Query\n\n\tImport \u003cfile_name\u003e.csv;\n\u003cbr\u003e\n\n#### SELECT Query\n\t Select * from \u003ctable_name\u003e [Where] [column_name] [operation] [value];\n  \n\t \n  - OPTION\n  \n\t\t WHERE =\u003e It can be used only on any one column.\n\t\t OPERATION =\u003e Valid operations are {=, !=, \u003e, \u003c, \u003c=, \u003e=}\n\u003cbr\u003e\n\n#### INSERT Query\n\t Insert into \u003ctable_name\u003e values (data...);\n  \n  \n  - DESCRIPTION\n  \n\t\t DATA =\u003e It is comma separated string of the data to be inserted. DO NOT leave a space in the paranthesis.\n\n\u003cbr\u003e\n\n#### DELETE Query\n\t Delete from \u003ctable_name\u003e [Where] [column_name] [operation] [value];\n  \n  \n  - OPTION\n \n\t\t WHERE =\u003e It can be used only on any one column.\n\t\t OPERATION =\u003e Valid operations are {=, !=, \u003e, \u003c, \u003c=, \u003e=}\n\t\t \n\u003cbr\u003e\u003cbr\u003e\n\n#### The following code has been tested and executed on Linux.\n\n #### This project still has scope of development, so you can also contribute to this Project as follows:\n* [Fork](https://github.com/mrpandya/DBMS_from_scratch) this Repository.\n* Clone your Fork on a different branch:\n\t* `git clone -b \u003cname-of-branch\u003e https://github.com/mrpandya/DBMS_from_scratch.git`\n* After adding any feature:\n\t* Goto your fork and create a pull request.\n\t* Your modifications will be  tested and the changes will be merged.\n\n---\n\u003ch3 align=\"center\"\u003e\u003cb\u003eDeveloped with :heart: by \u003ca href=\"https://github.com/mrpandya\"\u003eManan Pandya\u003c/a\u003e .\u003c/b\u003e\u003c/h1\u003e\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrpandya%2Fdbms_from_scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrpandya%2Fdbms_from_scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrpandya%2Fdbms_from_scratch/lists"}