|
1 |
| -# Overview |
| 1 | +# SQL Database With Python |
2 | 2 |
|
3 |
| -{Important! Do not say in this section that this is college assignment. Talk about what you are trying to accomplish as a software engineer to further your learning.} |
| 3 | +This is my **SQL Database in Python Demo** software. I decided to make this demo to research, 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 planner that can store and modify data entered by the user. |
4 | 4 |
|
5 |
| -{Provide a description the software that you wrote and how it integrates with a SQL Relational Database. Describe how to use your program.} |
| 5 | +Some of the commands I use in the queries are: |
6 | 6 |
|
7 |
| -{Describe your purpose for writing this software.} |
| 7 | +* CREATE |
| 8 | +* INSERT |
| 9 | +* SELECT |
| 10 | +* UPDATE |
| 11 | +* DELETE |
| 12 | +* CONCAT |
| 13 | +* ORDER BY |
| 14 | +* INNER JOIN |
| 15 | +* DATE (%m/%d/%Y) |
8 | 16 |
|
9 | 17 | {Provide a link to your YouTube demonstration. It should be a 4-5 minute demo of the software running, a walkthrough of the code, and a view of how created the Relational Database.}
|
10 | 18 |
|
11 | 19 | [Software Demo Video](http://youtube.link.goes.here)
|
12 | 20 |
|
13 |
| -# Relational Database |
| 21 | +## Relational Database |
14 | 22 |
|
15 |
| -{Describe the relational database you are using.} |
| 23 | +The relational database that I am using is SQLite3, which is already included in the default python libraries. |
16 | 24 |
|
17 |
| -{Describe the structure (tables) of the relational database that you created.} |
| 25 | +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: |
18 | 26 |
|
19 |
| -# Development Environment |
| 27 | + |
20 | 28 |
|
21 |
| -{Describe the tools that you used to develop the software} |
| 29 | +## Development Environment |
22 | 30 |
|
23 |
| -{Describe the programming language that you used and any libraries.} |
| 31 | +I used Visual Studio Code with python to create this project, and used the built in SQLite3 library to create and query the database. |
| 32 | + |
| 33 | +### Tools |
| 34 | + |
| 35 | +* Visual Studio Code |
| 36 | +* Python |
| 37 | +* SQLite3 |
24 | 38 |
|
25 | 39 | # Useful Websites
|
26 | 40 |
|
27 |
| -{Make a list of websites that you found helpful in this project} |
28 |
| -* [Web Site Name](http://url.link.goes.here) |
29 |
| -* [Web Site Name](http://url.link.goes.here) |
| 41 | +* [SQLite Tutorial](http://www.sqlitetutorial.net/) |
| 42 | +* [Python Homepage](http://www.python.org/) |
| 43 | +* [W3 Schools](http://www.w3schools.com/sql/) |
30 | 44 |
|
31 | 45 | # Future Work
|
32 | 46 |
|
33 |
| -{Make a list of things that you need to fix, improve, and add in the future.} |
34 |
| -* Item 1 |
35 |
| -* Item 2 |
36 |
| -* Item 3 |
| 47 | +* Make program appear in a window |
| 48 | +* Add more items to be input so I can use more tables to help with practice |
| 49 | +* Create a new database that can work with a game |
0 commit comments