{"id":23238745,"url":"https://github.com/satyammittal/mini-sql-engine","last_synced_at":"2025-04-05T21:29:32.997Z","repository":{"id":129236404,"uuid":"119300595","full_name":"satyammittal/MINI-SQL-ENGINE","owner":"satyammittal","description":"a mini sql engine which will run a subset of SQL Queries using ​ command line interface​ .","archived":false,"fork":false,"pushed_at":"2019-02-03T11:59:06.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T01:54:49.200Z","etag":null,"topics":["database-system","mini-sql-engine","sql-query"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/satyammittal.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-28T21:44:11.000Z","updated_at":"2019-02-03T12:04:20.000Z","dependencies_parsed_at":"2023-06-26T02:10:00.473Z","dependency_job_id":null,"html_url":"https://github.com/satyammittal/MINI-SQL-ENGINE","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMINI-SQL-ENGINE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMINI-SQL-ENGINE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMINI-SQL-ENGINE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMINI-SQL-ENGINE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satyammittal","download_url":"https://codeload.github.com/satyammittal/MINI-SQL-ENGINE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247405280,"owners_count":20933781,"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":["database-system","mini-sql-engine","sql-query"],"created_at":"2024-12-19T04:19:25.082Z","updated_at":"2025-04-05T21:29:32.982Z","avatar_url":"https://github.com/satyammittal.png","language":"Python","readme":"# MINI-SQL-ENGINE\n#### Description\na mini sql engine which will run a subset of SQL Queries using ​ command line interface​ .\nType of Queries implemented here:​\n\n    Select all records : Select * from table_name;\n\n    Aggregate functions: Simple aggregate functions on a single column. Sum, average, max and min. They will be very trivial given that the data is only numbers: select max(col1) from table1;\n\n    Project Columns(could be any number of columns) from one or more tables : Select col1, col2 from table_name;\n\n    Select/project with distinct from one table : select distinct(col1), distinct(col2) from table_name;\n\n    Select with where from one or more tables: select col1,col2 from table1,table2 where col1 = 10 AND col2 = 20; a. In the where queries, there would be a maximum of one AND/OR operator with no NOT operators.\n\n    Projection of one or more(including all the columns) from two tables with one join condition :\n    a. select * from table1, table2 where table1.col1=table2.col2; b. select col1,col2 from table1,table2 where table1.col1=table2.col2;\n\n#### Credits\n#### [moz_sql_parser]: https://github.com/mozilla/moz-sql-parser\n\n\n## How to Run\n\n`python main.py \"{query}\"`\n\nexample: `python main.py \"select * from table1;\"`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatyammittal%2Fmini-sql-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatyammittal%2Fmini-sql-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatyammittal%2Fmini-sql-engine/lists"}