55![ Prettier Format] ( https://github.com/TheComputationalCore/sql-jdbc-mongodb-tasks/actions/workflows/prettier-format.yml/badge.svg )
66![ License] ( https://img.shields.io/badge/License-MIT-green.svg )
77
8- A structured repository with SQL queries, JDBC operations, and
9- MongoDB tasks. This project uses MySQL, Java, and MongoDB.
8+ A structured repository containing SQL queries, JDBC operations,
9+ and MongoDB tasks. The project demonstrates backend fundamentals
10+ using MySQL, Java, and MongoDB.
1011
1112## Project Structure
1213
1314```
1415sql-jdbc-mongodb-tasks/
15- │ ── .github/workflows/
16- │ ── screenshots/
17- │ ── 1.sql
18- │ ── MyDatabaseConnection.java
19- │ ── QuestionTwo.java
20- │ ── MONGODB TASK.docx
21- │ ── README.md
22- │ ── LICENSE
16+ ├ ── .github/workflows/
17+ ├ ── screenshots/
18+ ├ ── 1.sql
19+ ├ ── MyDatabaseConnection.java
20+ ├ ── QuestionTwo.java
21+ ├ ── MONGODB TASK.docx
22+ ├ ── README.md
23+ └ ── LICENSE
2324```
2425
25- ## Task 1 — SQL Queries (MySQL)
26+ ## Task 1 – SQL Queries
2627
27- ### Screenshots
28+ These SQL queries run on the ` Empl ` table.
2829
29- #### Full Table Output
30+ ### Screenshots
3031
3132![ Full Table] ( screenshots/1.1.png )
3233
33- #### Salary ≥ 2200
34-
3534![ Salary ≥ 2200] ( screenshots/1.2.png )
3635
37- #### Employees With NULL Commission
38-
39- ![ NULL commission] ( screenshots/1.3.png )
40-
41- #### Salary Not Between 2500 and 4000
42-
43- ![ Not between] ( screenshots/1.4.png )
44-
45- #### No Manager
46-
47- ![ No manager] ( screenshots/1.5.png )
48-
49- #### Name With 'A' as 3rd Letter
36+ ![ NULL Commission] ( screenshots/1.3.png )
5037
51- ![ Third letter A ] ( screenshots/1.6 .png )
38+ ![ Not Between 2500 and 4000 ] ( screenshots/1.4 .png )
5239
53- #### Name Ending With 'T'
40+ ![ No Manager ] ( screenshots/1.5.png )
5441
55- ![ Ends with T ] ( screenshots/1.7 .png )
42+ ![ Third Letter A ] ( screenshots/1.6 .png )
5643
57- #### Final SQL Script
44+ ![ Ends With T ] ( screenshots/1.7.png )
5845
5946![ SQL Script] ( screenshots/1.8.png )
6047
61- ## Task 2 — JDBC Program
48+ ## Task 2 – JDBC (Java)
6249
63- ### Connection Class
50+ ### Database Connection
6451
6552![ JDBC Connection] ( screenshots/2.5.png )
6653
6754### Output
6855
69- ![ Output ] ( screenshots/2.6.png )
56+ ![ Connection Created ] ( screenshots/2.6.png )
7057
71- ## Task 3 — MongoDB Queries
58+ ## Task 3 – MongoDB Queries
7259
73- Queries are included in ` MONGODB TASK.docx ` .
60+ Queries performed on a product dataset.
61+ See ` MONGODB TASK.docx ` .
7462
75- ## How to Run
63+ ## Run Instructions
7664
7765### SQL
7866
@@ -93,9 +81,9 @@ java QuestionTwo
9381### MongoDB
9482
9583``` bash
96- mongoimport --db mydatabase --collection products --file product.json --jsonArray
84+ mongoimport --db mydatabase --collection products --file product.json --jsonArray
9785```
9886
9987## License
10088
101- MIT License.
89+ MIT License
0 commit comments