Member-only story
SQLite Database “CRUD Operations” using Python
The purpose of writing this is for beginners who are curious about backend development or front-end developers who want to learn database technology with server-side programming language.
As we know server-side languages like python, java, and many others are not sufficient for backed developers and even a backend developer needs to be more knowledgeable in database technologies.
So let’s start with the basics of SQLite Database with Python.
I chose the SQLite database as just an option, one can apply the same knowledge with any other database also like MySQL and Oracle or any other. the best part of database technology is all the databases are very similar to SQL concepts except fora few new Databases.
We are not using any Python package to make our job easy for learning these four basic operations.
CRUD
- C: Create
- R: Read
- U: Update
- D: Delete
CREATE:
Inserting or creating a new record within the table. so let’s create an example table within the SQLite Database.
# Creating table into database!!!
import sqlite3
# Connect to sqlite…