Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f989a63

Browse files
Update README.md
1 parent b64ade6 commit f989a63

File tree

1 file changed

+22
-30
lines changed

1 file changed

+22
-30
lines changed

‎README.md‎

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,41 @@
1-
# SQL-Exercises-With-Solutions
1+
### SQL-Exercises-With-Solutions
22
This repository will be useful to get started and know **SQL** better. Practice These Exercises.
33

44
![](https://github.com/aravind-alpha/SQL-Exercises-With-Solutions/blob/master/675172-data_database_sql_query-128.png)
55

6-
## SQL - Structured Query Language
6+
#### SQL - Structured Query Language
77

88
Used to retrieve Data from Databases.SQL is widely used nowadays because everything is **DATA**
99

10-
### First Learn the Architectures,So that it will be easy to understand how it works internally:
10+
#### First Learn the Architectures,So that it will be easy to understand how it works internally:
1111

1212
- Understand [Database Architecture](https://www.w3schools.in/dbms/database-architecture/)
1313
- Learn [SQL-Server Architecture](https://www.guru99.com/sql-server-architecture.html)
1414
- Then, finally look at the [Log Architecture](https://www.sqlshack.com/sql-server-transaction-log-architecture/)
1515

16-
### SQL is classified into 4 types:
17-
18-
- **DDL - Data Defenition Language**
19-
DDL is abbreviation of Data Definition Language. It is used to create and modify the structure of database objects in database.
20-
**Examples:** CREATE, ALTER, DROP statements
21-
- **DML - Data Manipulation Language**
22-
DML is abbreviation of Data Manipulation Language. It is used to retrieve, store, modify, delete, insert and update data in database.
23-
**Examples:** SELECT, UPDATE, INSERT statements
24-
- **DCL - Data Control Language**
25-
DCL is abbreviation of Data Control Language. It is used to create roles, permissions, and referential integrity as well it is used to control access to database by securing it.
26-
**Examples:** GRANT, REVOKE statements
27-
- **TCL - Transaction Control Language**
28-
TCL is abbreviation of Transactional Control Language. It is used to manage different transactions occurring within a database.
29-
**Examples:** COMMIT, ROLLBACK statements
30-
31-
### Know these Concepts
16+
#### SQL is classified into 4 types:
17+
18+
- **DDL - Data Defenition Language** : DDL is abbreviation of Data Definition Language. It is used to create and modify the structure of database objects in database. Examples: **CREATE, ALTER, DROP** statements
19+
- **DML - Data Manipulation Language** : DML is abbreviation of Data Manipulation Language. It is used to retrieve, store, modify, delete, insert and update data in database. Examples: **SELECT, UPDATE, INSERT** statements
20+
- **DCL - Data Control Language** : DCL is abbreviation of Data Control Language. It is used to create roles, permissions, and referential integrity as well it is used to control access to database by securing it. Examples: **GRANT, REVOKE** statements
21+
- **TCL - Transaction Control Language** : TCL is abbreviation of Transactional Control Language. It is used to manage different transactions occurring within a database. Examples: **COMMIT, ROLLBACK** statements
22+
23+
#### Know these Concepts
3224

33-
#### Database:
25+
##### Database:
3426
- A database is a collection of information that is organized so that it can be easily accessed, managed and updated.
3527
- Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant information.
3628
- Data gets updated, expanded and deleted as new information is added.
3729
- Databases process workloads to create and update themselves, querying the data they contain and running applications against it.
3830

39-
#### Datamart:
31+
##### Datamart:
4032
- A data mart is a structure / access pattern specific to data warehouse environments, used to retrieve client-facing data.
4133
- The data mart is a subset of the data warehouse and is usually oriented to a specific business line or team.
4234

43-
#### Data Warehouse / Enterprise Data Warehouse:
35+
##### Data Warehouse / Enterprise Data Warehouse:
4436
- A large store of data accumulated from a wide range of sources within a company and used to guide management decisions.
4537

46-
### Before writing a Querry,Follow these steps
38+
#### Before writing a Querry,Follow these steps
4739

4840
- Analyse the Database and its **Available tables**
4941
- Select the **Tables needed** to write our querry
@@ -55,29 +47,29 @@ Used to retrieve Data from Databases.SQL is widely used nowadays because everyth
5547
- **Data Transformation**
5648
- Identify **ORDER BY** if needed
5749

58-
### Tutorial:
50+
#### Tutorial:
5951
SQL Tutuorial can be found [Here](https://www.w3schools.com/sql/)
6052

61-
### Know the Data types and different Functions used in SQL:
53+
#### Know the Data types and different Functions used in SQL:
6254

6355
- **Data Types:** Follow this [Link](https://www.w3schools.com/sql/sql_datatypes.asp)
6456
- **Functions:** Follow this [Link](https://www.w3schools.com/sql/sql_ref_sqlserver.asp)
6557

66-
#### Let's start Working on Exercises:
58+
##### Let's start Working on Exercises:
6759

68-
### Requirements:
60+
#### Requirements:
6961
Install MS-SQL Server to work on Exercises. To install, Follow this [video](https://www.youtube.com/watch?v=vng0P8Gfx2g), he explains clearly.
7062

7163
After Installation, You need Databases to Practice **SQL**
7264

73-
#### Note: The Following Databases are used in these Exercises. You can Download it or create your own Databases and work on it.
65+
##### Note: The Following Databases are used in these Exercises. You can Download it or create your own Databases and work on it.
7466

7567
- Download [Northwind DB](https://www.microsoft.com/en-in/download/details.aspx?id=23654)
7668
- Download [Adventure Works DB](https://www.microsoft.com/en-us/download/details.aspx?id=49502)
7769
- Create **HR DB** on your own
7870
- Creating HR Table and fill the Values to the Table. Queries Available [Here](https://github.com/i-m-aravind/SQL-Exercises-With-Solutions/tree/master/HR-DB)
7971

80-
### Downloading the Exercises
72+
#### Downloading the Exercises
8173
To get started, you can start by either downloading a zip file of these assignments by clicking on the Clone or download button. If you have git installed on your system, you can clone this repository using :
8274

8375
> clone https://github.com/aravind-alpha/SQL-Exercises-With-Solutions
@@ -86,7 +78,7 @@ Each folder contains two files:
8678
- A PNG file `.png` contains Questions for all the Exercises Seperately.
8779
- A SQL file `.sql` contains solutions done by me. You can correct me if i am wrong and modify it as needed.
8880

89-
### Further Learning:
81+
#### Further Learning:
9082
After Completing these Exercises Try to solve SQL Exercises on
9183

9284
- Mode Analytics [Here.](https://mode.com/)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /