Copyright (c) 2025 Yuto “Possior” Morii. Use at Your Own Risk, No Warranty.
~/database.db
| Term Database.~/LICENSE
| MIT License.~/README.md
| Project Description.~/SCRIPT/associative.sql
| Associative Table Script.~/SCRIPT/base.sql
| Base Table Script.~/SCRIPT/structure.sql
| Structure Script.
- If the database file (
database.db
) does not exist, create a new database file (database.db
). If the database file (database.db
) exists, connect to it. Then execute the structure script (structure.sql
) to build the relational database structure.sqlite3 ./database.db < ./SCRIPT/structure.sql
- If the database file (
database.db
) does not exist, create a new database file (database.db
). If the database file (database.db
) exists, connect to it. Then execute the base table script (base.sql
) to input the values into the base tables.sqlite3 ./database.db < ./SCRIPT/base.sql
- If the database file (
database.db
) does not exist, create a new database file (database.db
). If the database file (database.db
) exists, connect to it. Then execute the associative table script (associative.sql
) to input the values into the associative tables.sqlite3 ./database.db < ./SCRIPT/associative.sql
- Update the names of the tables in the associative table script (
associative.sql
). - Write the requirement section of the description file (
README.md
). - Develop a Python program (
structure.py
) to build the relational database structure. - Develop a Python program (
base.py
) to input the values into the base tables. - Develop a Python program (
associative.py
) to input the values into the base tables. - Develop a Python program (
query.py
) to output a custom table queried from the database.