Skip to content

Commit ba4f2db

Browse files
committed
fix to sql docs
1 parent 73f27cd commit ba4f2db

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/sql/SQL-basics/ordering-data.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ For example, to sort by the `name` column:
3232

3333
The first step in ordering table is the SELECT
3434
ORDER BY helps you to arrange data in readable form
35-
Here FROM specify the table we are selecting from ountries.
35+
Here **FROM** specify the table we are selecting from ountries.
3636
Here the query is ordering the number by name/.
3737

3838
:::info
3939
<Tabs>
4040
<TabItem value="SQL Table" label="SQL Table">
4141
```sql title="Friends"
42-
| name | username |
43-
-----------------|------------------|
44-
Smith | 19 |
42+
| name | username |
43+
-----------|---------|
44+
Smith | 19 |
4545
Jones | 60 |
4646
Wilson | 25 |
4747
```
@@ -129,7 +129,7 @@ From helps in select the name col from
129129
While not necessary but its a good practice to finish the sql queries with;
130130
131131
132-
By following these best practices,
132+
By following these best practices, ASC is the default sort ordering method followed.
133133
:::
134134
135135
### 🔄 Arranging ORDERS BY with ASC , DESC

docs/sql/SQL-basics/the-inequality-operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: In this tutorial, you will learn about the structure of an HTML doc
99

1010

1111
# 📗 The Inequality Operator
12-
To check if a coloumns value is not equa to another we use the inequality operator.
12+
To check if a coloumns value is not equal to another we use the inequality operator.
1313

1414
For example, consider a table named `Friends`. Below is how a simple table might look:
1515

docs/sql/intro-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Let's talk about history of Storing Data, It's started with physical files and s
4545

4646
Then company started developing database management system like SQL, Postgres,MySQL.
4747

48-
> Databases are two types, SQL(Relational, Analytical OLAP) and NOSQL(key value, Graph, Document). This NoSQL provides more flexibility over Relational as it dont have to follow schemas.
48+
> Databases are two types, SQL(Relational, Analytical OLAP) and NOSQL(key value, Graph, Document) mainly used for un-structured dataset. This NoSQL provides more flexibility over Relational as it dont have to follow schemas.
4949
5050
> Schema is named collection of tables, which can contains, views, index, datatypes, operators and functions.
5151
:::

docs/sql/table-transformation/filtering-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keywords: [html, web development, attributes, values, html attributes, html valu
1212

1313
Welcome to the **Selecting Data** module! This foundational learning path is designed to help you master the basics of querying data, particularly focusing on how to retrieve specific information from databases effectively.
1414

15-
### 📘 Using Coditions
15+
### 📘 Using Conditions
1616

1717
In this tutorial, you'll learn how to interpret and use rows in a database table. Tables are essential to storing structured data, and each **row** in a table represents a unique **item or record**.
1818
> The first step in filtering is selecting the Items

docs/sql/table-transformation/table-creation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Here the query is ordering the number by name/.
3939
<Tabs>
4040
<TabItem value="SQL Table" label="SQL Table">
4141
```sql title="Friends"
42-
| name | username |
43-
-----------------|------------------|
44-
Smith | 19 |
42+
| name | username|
43+
-----------|---------|
44+
Smith | 19 |
4545
Jones | 60 |
4646
Wilson | 25 |
4747
```

0 commit comments

Comments
 (0)