You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Then, finally look at the [Log Architecture](https://www.sqlshack.com/sql-server-transaction-log-architecture/)
15
15
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
32
24
33
-
#### Database:
25
+
#####Database:
34
26
- A database is a collection of information that is organized so that it can be easily accessed, managed and updated.
35
27
- Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant information.
36
28
- Data gets updated, expanded and deleted as new information is added.
37
29
- Databases process workloads to create and update themselves, querying the data they contain and running applications against it.
38
30
39
-
#### Datamart:
31
+
#####Datamart:
40
32
- A data mart is a structure / access pattern specific to data warehouse environments, used to retrieve client-facing data.
41
33
- The data mart is a subset of the data warehouse and is usually oriented to a specific business line or team.
42
34
43
-
#### Data Warehouse / Enterprise Data Warehouse:
35
+
#####Data Warehouse / Enterprise Data Warehouse:
44
36
- A large store of data accumulated from a wide range of sources within a company and used to guide management decisions.
45
37
46
-
### Before writing a Querry,Follow these steps
38
+
####Before writing a Querry,Follow these steps
47
39
48
40
- Analyse the Database and its **Available tables**
49
41
- 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
55
47
-**Data Transformation**
56
48
- Identify **ORDER BY** if needed
57
49
58
-
### Tutorial:
50
+
####Tutorial:
59
51
SQL Tutuorial can be found [Here](https://www.w3schools.com/sql/)
60
52
61
-
### Know the Data types and different Functions used in SQL:
53
+
####Know the Data types and different Functions used in SQL:
62
54
63
55
-**Data Types:** Follow this [Link](https://www.w3schools.com/sql/sql_datatypes.asp)
64
56
-**Functions:** Follow this [Link](https://www.w3schools.com/sql/sql_ref_sqlserver.asp)
65
57
66
-
#### Let's start Working on Exercises:
58
+
#####Let's start Working on Exercises:
67
59
68
-
### Requirements:
60
+
####Requirements:
69
61
Install MS-SQL Server to work on Exercises. To install, Follow this [video](https://www.youtube.com/watch?v=vng0P8Gfx2g), he explains clearly.
70
62
71
63
After Installation, You need Databases to Practice **SQL**
72
64
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.
- Download [Adventure Works DB](https://www.microsoft.com/en-us/download/details.aspx?id=49502)
77
69
- Create **HR DB** on your own
78
70
- 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)
79
71
80
-
### Downloading the Exercises
72
+
####Downloading the Exercises
81
73
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 :
0 commit comments