Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Managing and Manipulating Data

Learning Goals

By the end of this section you will:

  • understand the different aspects of CRUD

  • know about SQL and its basic operations

  • know about SQLite

The set of operations that allows you to manage data in a computer system is referred to by the acronym CRUD. CRUD stands for Create, Read, Update, and Delete. It is a fundamental concept in the world of databases and computer systems.

Structured Query Language

SQL is a standard language for storing, manipulating and retrieving data in databasesw3schools_2019_sql.

SQL is the the most popular language for working with databases despite being over 50 years old. It is everywhere and every major IT platform uses it. Why? Because it is powerful and effective.

The basic operations of SQL are:

SQLite

There are many different flavours of SQL. Most of these work by setting up an SQL server separate from the computer running the program. Your program then has to connect to the SQL Server.

To avoid this hassle, we will be using SQLite as our SQL database. It is a lightweight and fast database management system, which can run off a file stored on your local machine. For example, both Android and iOS use SQLite databases extensive to store app data on phones.