Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yash1882/dbstreamx-dynamics


https://github.com/yash1882/dbstreamx-dynamics

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# SQL Database With Python

This is my **SQL Database in Python Demo** software. I decided to make this research to , gain an understanding of, and showcase my understanding in using SQL in python to create a database and be able to access and modify it using queries. To do this, I created a strategiX and nalysis-Engine that can store and modify data entered by the user.

Some of the commands I use in the queries are:

* CREATE
* INSERT
* SELECT
* UPDATE
* DELETE
* CONCAT
* ORDER BY
* INNER JOIN
* DATE (%m/%d/%Y)

## Relational Database

The relational database that I am using is SQLite3, which is already included in the default python libraries.

The database has two tables, one named **tasks** and one named **types**. Tasks contains the task_id, task, year, month, day, and time. Types contains the type_id, and type. Using an **INNER JOIN**, I am able to do **SELECT** queries that use the type_id to get the type name, and display it to the user. The database is structured as shown below:

## Development Environment

I used Visual Studio Code with python to create this project, and used the built in SQLite3 library to create and query the database.

### Tools

* Visual Studio Code
* Python
* SQLite3