@@ -32,36 +32,44 @@ This repository also includes screenshots demonstrating query outputs and progra
3232
3333The ` Empl ` table contains employee information such as:
3434
35- - ` EName ` — Employee Name
36- - ` Sal ` — Salary
37- - ` Comm ` — Commission
38- - ` Job ` — Job Title
39- - ` Mgr ` — Manager ID
35+ - ` EName ` — Employee Name
36+ - ` Sal ` — Salary
37+ - ` Comm ` — Commission
38+ - ` Job ` — Job Title
39+ - ` Mgr ` — Manager ID
4040
4141### ✔ Screenshots
4242
4343#### 🔹 Full Table View
44+
4445![ 1.1] ( screenshots/1.1.png )
4546
4647#### 🔹 Employees with salary ≥ 2200
48+
4749![ 1.2] ( screenshots/1.2.png )
4850
4951#### 🔹 Employees with NULL commission
52+
5053![ 1.3] ( screenshots/1.3.png )
5154
5255#### 🔹 Salary NOT between 2500 and 4000
56+
5357![ 1.4] ( screenshots/1.4.png )
5458
5559#### 🔹 Employees without a manager
60+
5661![ 1.5] ( screenshots/1.5.png )
5762
5863#### 🔹 Employees whose 3rd letter is 'A'
64+
5965![ 1.6] ( screenshots/1.6.png )
6066
6167#### 🔹 Employees whose name ends with 'T'
68+
6269![ 1.7] ( screenshots/1.7.png )
6370
6471#### 🔹 SQL Script Summary
72+
6573![ 1.8] ( screenshots/1.8.png )
6674
6775---
@@ -70,14 +78,16 @@ The `Empl` table contains employee information such as:
7078
7179Java program using JDBC to:
7280
73- - Connect to MySQL
74- - Create ` employee ` table
75- - Insert 5 employee records
81+ - Connect to MySQL
82+ - Create ` employee ` table
83+ - Insert 5 employee records
7684
7785### ✔ Successful Connection Screenshot
86+
7887![ 2.5] ( screenshots/2.5.png )
7988
8089### ✔ Inserted Records Verification
90+
8191![ 2.6] ( screenshots/2.6.png )
8292
8393---
@@ -86,33 +96,36 @@ Java program using JDBC to:
8696
8797Queries performed:
8898
89- 1 . Retrieve all products
90- 2 . Find products priced between 400 and 800
91- 3 . Find products NOT priced between 400 and 600
92- 4 . First 4 products with price > 500
93- 5 . Retrieve product_name & product_material
94- 6 . Find product with ` row_id = 10 `
95- 7 . Delete products priced at 28
96- 8 . And more…
99+ 1 . Retrieve all products
100+ 2 . Find products priced between 400 and 800
101+ 3 . Find products NOT priced between 400 and 600
102+ 4 . First 4 products with price > 500
103+ 5 . Retrieve product_name & product_material
104+ 6 . Find product with ` row_id = 10 `
105+ 7 . Delete products priced at 28
106+ 8 . And more…
97107
98108---
99109
100110## ▶ How to Run
101111
102112### ** SQL**
113+
103114``` bash
104115mysql -u root -p
105116source 1.sql;
106117```
107118
108119### ** JDBC**
120+
109121``` bash
110122javac MyDatabaseConnection.java
111123javac QuestionTwo.java
112124java QuestionTwo
113125```
114126
115127### ** MongoDB**
128+
116129``` bash
117130mongoimport --db mydatabase --collection products --file product.json --jsonArray
118131```
@@ -121,10 +134,10 @@ mongoimport --db mydatabase --collection products --file product.json --jsonArra
121134
122135## ✔ Requirements
123136
124- - MySQL 5.7+ / MariaDB
125- - Java 8+
126- - MySQL Connector/J
127- - MongoDB 4.0+
137+ - MySQL 5.7+ / MariaDB
138+ - Java 8+
139+ - MySQL Connector/J
140+ - MongoDB 4.0+
128141
129142---
130143
@@ -136,7 +149,7 @@ Sensitive screenshots (`2.1`–`2.4`) were removed.
136149---
137150
138151## 📌 Author
152+
139153** TheComputationalCore**
140154
141155---
142-
0 commit comments