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
Copy file name to clipboardExpand all lines: README.md
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,23 +16,26 @@ Used to retrieve Data from Databases.SQL is widely used nowadays because everyth
16
16
#### SQL is classified into 4 types:
17
17
18
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
+
19
20
-**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
21
+
20
22
-**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
23
+
21
24
-**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
25
23
26
#### Know these Concepts
24
27
25
-
#####Database:
28
+
#### Database:
26
29
- A database is a collection of information that is organized so that it can be easily accessed, managed and updated.
27
30
- Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant information.
28
31
- Data gets updated, expanded and deleted as new information is added.
29
32
- Databases process workloads to create and update themselves, querying the data they contain and running applications against it.
30
33
31
-
#####Datamart:
34
+
#### Datamart:
32
35
- A data mart is a structure / access pattern specific to data warehouse environments, used to retrieve client-facing data.
33
36
- The data mart is a subset of the data warehouse and is usually oriented to a specific business line or team.
34
37
35
-
#####Data Warehouse / Enterprise Data Warehouse:
38
+
#### Data Warehouse / Enterprise Data Warehouse:
36
39
- A large store of data accumulated from a wide range of sources within a company and used to guide management decisions.
37
40
38
41
#### Before writing a Querry,Follow these steps
@@ -55,31 +58,35 @@ SQL Tutuorial can be found [Here](https://www.w3schools.com/sql/)
55
58
-**Data Types:** Follow this [Link](https://www.w3schools.com/sql/sql_datatypes.asp)
56
59
-**Functions:** Follow this [Link](https://www.w3schools.com/sql/sql_ref_sqlserver.asp)
57
60
58
-
#####Let's start Working on Exercises:
61
+
#### Let's start Working on Exercises:
59
62
60
-
#### Requirements:
63
+
#####Requirements:
61
64
Install MS-SQL Server to work on Exercises. To install, Follow this [video](https://www.youtube.com/watch?v=vng0P8Gfx2g), he explains clearly.
62
65
63
66
After Installation, You need Databases to Practice **SQL**
64
67
65
68
##### Note: 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)
69
73
70
74
- Create **HR DB** on your own
71
-
- 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)
72
75
73
-
#### Downloading the Exercises
74
-
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 :
76
+
- Creating HR Table and insert the values to the table. Queries available [Here](https://github.com/i-m-aravind/SQL-Exercises-With-Solutions/tree/master/HR-DB)
- 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