{"id":15066697,"url":"https://github.com/shubhamsoni98/analysis-with-sql","last_synced_at":"2026-01-03T01:31:57.980Z","repository":{"id":256594494,"uuid":"855873555","full_name":"shubhamsoni98/Analysis-with-SQL","owner":"shubhamsoni98","description":"This project focuses on creating and managing a database for a music record company to perform various analyses on bands, albums, and songs. Using SQL, the goal is to create a structured relational database with relevant tables, insert necessary data, and perform queries that provide insights into the relationships between bands, albums, and songs.","archived":false,"fork":false,"pushed_at":"2024-09-11T15:59:39.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T14:45:41.121Z","etag":null,"topics":["analys","analysis","data","data-science","database","dbms","mysql","mysqlworkbench","project","query","schema","sql"],"latest_commit_sha":null,"homepage":"","language":null,"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/shubhamsoni98.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":"2024-09-11T15:41:22.000Z","updated_at":"2024-09-11T16:01:22.000Z","dependencies_parsed_at":"2024-09-12T00:21:04.777Z","dependency_job_id":"7d12775e-a0dd-48e4-b06a-08e53b60d32d","html_url":"https://github.com/shubhamsoni98/Analysis-with-SQL","commit_stats":null,"previous_names":["shubhamsoni98/analysis-with-sql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamsoni98%2FAnalysis-with-SQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamsoni98%2FAnalysis-with-SQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamsoni98%2FAnalysis-with-SQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamsoni98%2FAnalysis-with-SQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhamsoni98","download_url":"https://codeload.github.com/shubhamsoni98/Analysis-with-SQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814893,"owners_count":20352038,"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":["analys","analysis","data","data-science","database","dbms","mysql","mysqlworkbench","project","query","schema","sql"],"created_at":"2024-09-25T01:10:52.545Z","updated_at":"2026-01-03T01:31:57.949Z","avatar_url":"https://github.com/shubhamsoni98.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Analysis-with-SQL\nThis project focuses on creating and managing a database for a music record company to perform various analyses on bands, albums, and songs. Using SQL, the goal is to create a structured relational database with relevant tables, insert necessary data, and perform queries that provide insights into the relationships between bands, albums, and songs.\n\nThe project includes creating tables for bands, albums, and songs, maintaining foreign key relationships, and writing SQL queries to extract meaningful information such as identifying the oldest albums, longest songs, and bands with or without albums. Additionally, the project demonstrates the ability to manage database records by inserting, updating, and deleting data, along with performing aggregate operations like calculating average song lengths and filtering data by specific criteria.\n\n# Key Steps:\n**Database and Schema Creation:**\n\nCreated a new database and defined a schema with tables such as Bands, Albums, and Songs.\nEstablished relationships between tables using foreign keys to maintain referential integrity.\n\n**Data Population:**\n\nInserted data into the database using SQL scripts (schema.sql and data.sql), which include predefined records of bands, albums, and songs.\n\n**Query and Data Analysis:**\n\nImplemented SQL queries to analyze the data, such as:\nSelecting all band names.\nIdentifying the oldest album.\nDetermining the bands with and without albums.\nFinding the longest album and song.\nCalculating the average length of songs.\nInserting and removing records.\nGrouping data to count songs by band and finding the longest song per album.\n\n**Database Management:**\n\nDemonstrated the ability to modify the database by adding and dropping records, altering tables, and ensuring consistency with foreign key relationships.\n\n**Technologies Used:**\n\n**MySQL:** Database management system for creating and managing the relational database.\n\n**SQL:** Structured Query Language for writing queries and managing the data.\n\n**Project Outcomes:**\n\nCreated a robust database structure that efficiently organizes data about bands, albums, and songs.\nImplemented various SQL queries for data retrieval and analysis, demonstrating the ability to manipulate data and extract useful insights.\nManaged database integrity through foreign key relationships, ensuring accurate and meaningful analysis.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamsoni98%2Fanalysis-with-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhamsoni98%2Fanalysis-with-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamsoni98%2Fanalysis-with-sql/lists"}