Rearrange chapters

feat/course
Kamran Ahmed 2 weeks ago
parent 14fa685cf1
commit c176731aa7
  1. 2
      src/data/courses/sql-mastery/chapters/defining-tables/defining-tables.md
  2. 2
      src/data/courses/sql-mastery/chapters/manipulating-data/lessons/delete-operations.md
  3. 2
      src/data/courses/sql-mastery/chapters/manipulating-data/lessons/insert-operations.md
  4. 2
      src/data/courses/sql-mastery/chapters/manipulating-data/manipulating-data.md

@ -1,5 +1,5 @@
---
title: Defining Tables
description: Learn the basics of SQL, the language for querying databases.
order: 3
order: 4
---

@ -86,7 +86,7 @@ DELETE FROM books;
### DELETE vs TRUNCATE
In the previous chapter, we learned about `TRUNCATE` to remove all the rows from a table. You can use `DELETE` to achieve the same result i.e. both of the following will achieve the same result:
In the next chapter, we will learn about `TRUNCATE` to remove all the rows from a table. You can use `DELETE` to achieve the same result i.e. both of the following will achieve the same result:
```sql
DELETE FROM books;

@ -5,7 +5,7 @@ order: 100
type: lesson-challenge
---
In our previous chapter, we learned all about Data Definition Language (DDL) i.e. how to create, modify and delete tables. This chapter is all about Data Manipulation Language (DML) i.e. doing the same but for data i.e. inserting, updating and deleting data.
In our previous chapter, we learned all about selecting existing data from a table. This chapter is all about Data Manipulation Language (DML), which includes inserting, updating, and deleting data. We will learn about creating tables in the next chapter. For now, let's work with the existing tables that I have created for you.
In this lesson, we will learn how to insert data into a table.

@ -1,5 +1,5 @@
---
title: Manipulating Data
description: Learn the basics of SQL, the language for querying databases.
order: 4
order: 3
---

Loading…
Cancel
Save