Skip to content

Commit 1eb9a99

Browse files
authored
Update README.md
Updated the content as per the required format with more detail.
1 parent 6d91f4d commit 1eb9a99

File tree

1 file changed

+43
-14
lines changed

1 file changed

+43
-14
lines changed

README.md

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,43 @@
1-
# python-sql-examples
2-
3-
The Database Utility Python Script: db_utils.py
4-
MySQL Create Database Python: mysql_create_db.py
5-
MySQL Create Table Python Script: mysql_create_table.py
6-
MySQL Insert Rows Python Script: mysql_insert_rows.py
7-
MySQL Select Rows Python Script: mysql_select_rows.py
8-
MySQL Update Rows Python Script: mysql_update_rows.py
9-
MySQL Join Operations Demo Python Script: mysql_join_ops.py
10-
MySQL Aggregate Functions Demo Python Script: mysql_aggr_ops.py
11-
MySQL Drop Table Python Script: mysql_drop_table.py
12-
MySQL Drop Database Python Script: mysql_drop_db.py
13-
MySQL Python Scripts Launcher Script: db_run_scripts.py
14-
MySQL Combined Python Script: db_uni_demo.py
1+
# Python SQL Examples
2+
3+
This repository contains a set of Python scripts for interacting with MySQL databases. Each script focuses on specific database operations, making it easy to understand and use.
4+
5+
## Scripts Overview
6+
7+
### Database Utility Script: [`db_utils.py`](db_utils.py)
8+
This script provides utility functions for connecting to MySQL databases, creating connections, and handling common database operations.
9+
10+
### MySQL Create Database Python: [`mysql_create_db.py`](mysql_create_db.py)
11+
Demonstrates how to create a new MySQL database using Python.
12+
13+
### MySQL Create Table Python: [`mysql_create_table.py`](mysql_create_table.py)
14+
Illustrates the creation of tables within a MySQL database using Python.
15+
16+
### MySQL Insert Rows Python: [`mysql_insert_rows.py`](mysql_insert_rows.py)
17+
Shows how to insert data into MySQL tables using Python.
18+
19+
### MySQL Select Rows Python: [`mysql_select_rows.py`](mysql_select_rows.py)
20+
Retrieves and prints records from a MySQL table using Python.
21+
22+
### MySQL Update Rows Python: [`mysql_update_rows.py`](mysql_update_rows.py)
23+
Demonstrates updating records in a MySQL table using Python.
24+
25+
### MySQL Join Operations Demo Python: [`mysql_join_ops.py`](mysql_join_ops.py)
26+
Illustrates seamless data combinations from different tables using Python SQL join operations.
27+
28+
### MySQL Aggregate Functions Demo Python: [`mysql_aggr_ops.py`](mysql_aggr_ops.py)
29+
Demonstrates the use of SQL aggregate functions such as SUM, AVG, and COUNT in Python for data analysis.
30+
31+
### MySQL Drop Table Python: [`mysql_drop_table.py`](mysql_drop_table.py)
32+
Shows how to delete a MySQL table using Python.
33+
34+
### MySQL Drop Database Python: [`mysql_drop_db.py`](mysql_drop_db.py)
35+
Illustrates the deletion of a MySQL database using Python.
36+
37+
### MySQL Python Scripts Launcher Script: [`db_run_scripts.py`](db_run_scripts.py)
38+
A launcher script to run all the individual MySQL scripts conveniently.
39+
40+
### MySQL Combined Python Script: [`db_uni_demo.py`](db_uni_demo.py)
41+
A combined script showcasing multiple SQL operations for a comprehensive example.
42+
43+
Feel free to explore each script for detailed explanations and usage instructions.

0 commit comments

Comments
 (0)