{"id":25403130,"url":"https://github.com/pngo1997/sql-and-pl-sql-database-management-practice","last_synced_at":"2026-05-07T13:41:58.343Z","repository":{"id":275041352,"uuid":"924882545","full_name":"pngo1997/SQL-and-PL-SQL-Database-Management-Practice","owner":"pngo1997","description":"Practice SQL and PL/SQL for database management, data querying, and trigger implementation.","archived":false,"fork":false,"pushed_at":"2025-01-30T20:41:12.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T02:29:08.524Z","etag":null,"topics":["database-management","python","query","sql","sqlite","trigger"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pngo1997.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-30T20:16:29.000Z","updated_at":"2025-01-30T20:41:15.000Z","dependencies_parsed_at":"2025-01-30T21:24:38.999Z","dependency_job_id":"20c3a78f-23da-43d0-8014-d8a578bf33c8","html_url":"https://github.com/pngo1997/SQL-and-PL-SQL-Database-Management-Practice","commit_stats":null,"previous_names":["pngo1997/sql-and-pl-sql-database-management-practice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pngo1997%2FSQL-and-PL-SQL-Database-Management-Practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pngo1997%2FSQL-and-PL-SQL-Database-Management-Practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pngo1997%2FSQL-and-PL-SQL-Database-Management-Practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pngo1997%2FSQL-and-PL-SQL-Database-Management-Practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pngo1997","download_url":"https://codeload.github.com/pngo1997/SQL-and-PL-SQL-Database-Management-Practice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248574894,"owners_count":21127085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-management","python","query","sql","sqlite","trigger"],"created_at":"2025-02-16T02:28:00.665Z","updated_at":"2026-05-07T13:41:58.251Z","avatar_url":"https://github.com/pngo1997.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏗️ SQL and PL/SQL Database Management\n\n## 📜 Overview  \nThis project focuses on SQL and PL/SQL for database management, data querying, and trigger implementation. It consists of **three parts**, covering **data handling using Pandas, PL/SQL procedural logic, and database triggers** for automatic constraint enforcement.  \n\n## 🎯 Problem Explanation  \n\n### **Part 1: Employee Data Analysis Using Pandas**  \nThe task involves working with **employee data (`employee.csv`)** using **Pandas in Python**. The objectives include:  \n1. **Read and explore the dataset** (dimensions, column names).  \n2. **Rename columns** for clarity.  \n3. **Filter employees by gender** (e.g., all male employees).  \n4. **Find the highest salary among female employees**.  \n5. **Group salaries by middle initial** and print out all salaries in each group.  \n\n### **Part 2: Student Score Computation Using PL/SQL**  \nThis part involves working with the **`STUDENT`** and **`WEIGHTS`** tables to compute student grades dynamically.  \n- **Tables Defined:**  \n  - `STUDENT` (ID, Name, Midterm, Final, Homework).  \n  - `WEIGHTS` (MidPct, FinPct, HWPct).  \n- **PL/SQL Program Requirements:**  \n  - Extract the grading weights from `WEIGHTS`.  \n  - Compute the **overall score** using the formula:  \n    ```\n    Overall Score = (Midterm * MidPct/100) + (Final * FinPct/100) + (Homework * HWPct/100)\n    ```\n  - Assign letter grades based on computed scores:  \n    ```\n    90-100 = A  \n    80-89.99 = B  \n    65-79.99 = C  \n    0-64.99 = F  \n    ```\n  - Output **each student's overall score and corresponding letter grade**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpngo1997%2Fsql-and-pl-sql-database-management-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpngo1997%2Fsql-and-pl-sql-database-management-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpngo1997%2Fsql-and-pl-sql-database-management-practice/lists"}