From c176731aa75cd0922a1c9344eb8c0d99dd4ef918 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 3 Jan 2025 19:36:37 +0000 Subject: [PATCH] Rearrange chapters --- .../sql-mastery/chapters/defining-tables/defining-tables.md | 2 +- .../chapters/manipulating-data/lessons/delete-operations.md | 2 +- .../chapters/manipulating-data/lessons/insert-operations.md | 2 +- .../sql-mastery/chapters/manipulating-data/manipulating-data.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/courses/sql-mastery/chapters/defining-tables/defining-tables.md b/src/data/courses/sql-mastery/chapters/defining-tables/defining-tables.md index 92010e9b0..2aaa92ff5 100644 --- a/src/data/courses/sql-mastery/chapters/defining-tables/defining-tables.md +++ b/src/data/courses/sql-mastery/chapters/defining-tables/defining-tables.md @@ -1,5 +1,5 @@ --- title: Defining Tables description: Learn the basics of SQL, the language for querying databases. -order: 3 +order: 4 --- diff --git a/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/delete-operations.md b/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/delete-operations.md index dff0a03c0..9d6aed841 100644 --- a/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/delete-operations.md +++ b/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/delete-operations.md @@ -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; diff --git a/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/insert-operations.md b/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/insert-operations.md index 710125db6..449773c41 100644 --- a/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/insert-operations.md +++ b/src/data/courses/sql-mastery/chapters/manipulating-data/lessons/insert-operations.md @@ -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. diff --git a/src/data/courses/sql-mastery/chapters/manipulating-data/manipulating-data.md b/src/data/courses/sql-mastery/chapters/manipulating-data/manipulating-data.md index 7b35c4078..6d0f76b95 100644 --- a/src/data/courses/sql-mastery/chapters/manipulating-data/manipulating-data.md +++ b/src/data/courses/sql-mastery/chapters/manipulating-data/manipulating-data.md @@ -1,5 +1,5 @@ --- title: Manipulating Data description: Learn the basics of SQL, the language for querying databases. -order: 4 +order: 3 ---