MOBI BOOT CAMP CORP. logoLearning Buddy
  • SIGN IN
  • SQL & NoSQL Databases
  • 1. Relational Database Fundamentals
  • 2. SQL: Basic Data Manipulation (DML)
    • Introduction to SQL
    • CRUD Introduction
    • Common Operations Cheat Sheet
    • Read Data (SELECT)
    • Create Data (INSERT)
    • Update Data (UPDATE)
    • Delete Data (DELETE)
    • Transactions (COMMIT, ROLLBACK)
  • 3. SQL: Filtering and Sorting
  • 4. SQL: Aggregation and Relations
  • 5. SQL: Schema Management (DDL)
  • 6. Python and SQL
  • 7. NoSQL Databases
  • References

An Introduction to CRUD

CRUD is an acronym that stands for the four basic functions of persistent storage: Create, Read, Update, and Delete. These four operations are the fundamental building blocks for interacting with data in almost any database system.

When you learn the SQL commands for managing data, you are learning the language of CRUD.

  • Create (INSERT): This is the operation for adding new data. In SQL, the INSERT statement is used to create a new record (or row) in a database table.

  • Read (SELECT): This is the operation for retrieving or reading data. It's the most common operation you'll perform. The SELECT statement in SQL is incredibly powerful, allowing you to fetch, filter, sort, group, and join data.

  • Update (UPDATE): This is the operation for modifying existing data. The UPDATE statement in SQL is used to change the values in one or more existing records in a table.

  • Delete (DELETE): This is the operation for removing data. The DELETE statement in SQL is used to remove one or more records from a table.

Understanding this structure is key to mastering data manipulation. The following pages will break down the specific SQL command for each of these core operations.

Privacy Policy | Terms & Conditions