{"id":19176556,"url":"https://github.com/leftcoastnerdgirl/sql_and_sqlalchemy","last_synced_at":"2025-06-24T00:33:05.102Z","repository":{"id":212892466,"uuid":"732549108","full_name":"LeftCoastNerdGirl/SQL_and_SQLAlchemy","owner":"LeftCoastNerdGirl","description":"This project introduces SQL coding via SQLAlchemy and continues to reinforce skills in data visualization through Matplotlib.","archived":false,"fork":false,"pushed_at":"2024-07-19T22:29:25.000Z","size":8312,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T01:14:04.023Z","etag":null,"topics":["data-visualization","jupyter-notebook","matplotlib","matplotlib-pyplot","pandas-python","sql","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://extension.berkeley.edu/search/publicCourseSearchDetails.do?method=load\u0026courseId=35106003","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/LeftCoastNerdGirl.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":"2023-12-17T03:27:47.000Z","updated_at":"2024-07-21T23:55:00.000Z","dependencies_parsed_at":"2024-07-20T03:07:47.245Z","dependency_job_id":null,"html_url":"https://github.com/LeftCoastNerdGirl/SQL_and_SQLAlchemy","commit_stats":null,"previous_names":["leftcoastnerdgirl/sql-challenge","leftcoastnerdgirl/sql_and_sqlalchemy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LeftCoastNerdGirl/SQL_and_SQLAlchemy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeftCoastNerdGirl%2FSQL_and_SQLAlchemy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeftCoastNerdGirl%2FSQL_and_SQLAlchemy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeftCoastNerdGirl%2FSQL_and_SQLAlchemy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeftCoastNerdGirl%2FSQL_and_SQLAlchemy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeftCoastNerdGirl","download_url":"https://codeload.github.com/LeftCoastNerdGirl/SQL_and_SQLAlchemy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeftCoastNerdGirl%2FSQL_and_SQLAlchemy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261582880,"owners_count":23180636,"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":["data-visualization","jupyter-notebook","matplotlib","matplotlib-pyplot","pandas-python","sql","sqlalchemy"],"created_at":"2024-11-09T10:29:01.103Z","updated_at":"2025-06-24T00:33:05.055Z","avatar_url":"https://github.com/LeftCoastNerdGirl.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL coding using SQLAlchemy, data modeling using QuickDB and pgAdmin\n\nThe first part of this challenge focused on data modeling and data engineering. Loading the 6 csv data files into QuickDB, then creating an Entity Relationship Diagram (ERD) showing primary keys, foreign keys, and idenfitying data types. pgAdmin was a secondary option, also included in the ERD folder output.  \n\n![image](https://github.com/user-attachments/assets/73123e68-bf82-435e-b701-12d744df7ec7)\n\n\nThe second challenge in this project focused on data analysis of those same csv files. This work involved loading the data into a Pandas dataframe. From there, various analysis points were created:\n\nList the employee number, last name, first name, sex, and salary of each employee.  \nList the first name, last name, and hire date for the employees who were hired in 1986.  \nList the manager of each department along with their department number, department name, employee number, last name, and first name.  \nList the department number for each employee along with that employee’s employee number, last name, first name, and department name.  \nList first name, last name, and sex of each employee whose first name is Hercules and whose last name begins with the letter B.  \nList each employee in the Sales department, including their employee number, last name, and first name.  \nList each employee in the Sales and Development departments, including their employee number, last name, first name, and department name.  \nList the frequency counts, in descending order, of all the employee last names (that is, how many employees share each last name).  \n\nCharted analysis using Matplotlib:\n\n![image](https://github.com/user-attachments/assets/046a023e-b603-4aef-afc1-ebc26ff6a073)\n\n\n![image](https://github.com/user-attachments/assets/25d6fc46-a1dd-4395-a3f4-3e80d526df2f)\n\n\n![image](https://github.com/user-attachments/assets/8441c56f-5990-4cf0-a60d-e08105fe1ef3)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftcoastnerdgirl%2Fsql_and_sqlalchemy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleftcoastnerdgirl%2Fsql_and_sqlalchemy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftcoastnerdgirl%2Fsql_and_sqlalchemy/lists"}