From 691d641c7ba23bdac1711eb08f085b3c3556aef8 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 26 Dec 2024 20:24:14 +0000 Subject: [PATCH] Add more on numeric types --- .../{more-on-data-types.md => numeric-types.md} | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) rename src/data/courses/sql/chapters/data-definition-language/lessons/{more-on-data-types.md => numeric-types.md} (91%) diff --git a/src/data/courses/sql/chapters/data-definition-language/lessons/more-on-data-types.md b/src/data/courses/sql/chapters/data-definition-language/lessons/numeric-types.md similarity index 91% rename from src/data/courses/sql/chapters/data-definition-language/lessons/more-on-data-types.md rename to src/data/courses/sql/chapters/data-definition-language/lessons/numeric-types.md index b8f3563ff..3797b5a46 100644 --- a/src/data/courses/sql/chapters/data-definition-language/lessons/more-on-data-types.md +++ b/src/data/courses/sql/chapters/data-definition-language/lessons/numeric-types.md @@ -1,22 +1,15 @@ --- -title: More on Data Types +title: More on Numeric Types description: Learn about common data types in SQL. order: 130 type: lesson --- -As we discussed in the previous lesson, there are following four basic categories of data types in SQL: +> Although, what we covered in the previous lesson is enough for most of the use cases, it is good to know about some other data types that are supported by some databases. -| Category | Description | -| --------- | ------------------------------------- | -| Numeric | Used for storing numerical values | -| Temporal | Used for storing date and time values | -| Character | Used for storing text values | -| Boolean | Used for storing boolean values | +In our previous lesson we only covered some basic data types for the numeric category. We also did not go into the details of how much space each data type takes up in the database and how to store numbers in a way that is more space efficient. -In our previous lesson we only covered some basic data types for each category. We also did not go into the details of how much space each data type takes up in the database. - -In this lesson we will go into more details about each data type and look at some other standard SQL data types. +In this lesson we will cover more data types for the numeric category and look at some other standard SQL data types. ## Numeric Data Types