{"id":15003109,"url":"https://github.com/nickenshidqia/sql-for-financial-data-analysis","last_synced_at":"2026-03-09T18:04:32.486Z","repository":{"id":223326729,"uuid":"759906937","full_name":"nickenshidqia/SQL-for-Financial-Data-Analysis","owner":"nickenshidqia","description":"Design SQL queries to generate accurate and timely financial reports including Profit and Loss statements, Balance Sheets, and Cash Flow statements","archived":false,"fork":false,"pushed_at":"2024-02-19T16:18:21.000Z","size":2294,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T13:57:23.018Z","etag":null,"topics":["azure-data-studio","data-analysis","finance","microsoft-sql-server","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/nickenshidqia.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}},"created_at":"2024-02-19T15:06:30.000Z","updated_at":"2024-02-19T16:19:55.000Z","dependencies_parsed_at":"2024-02-19T17:57:46.295Z","dependency_job_id":"2e0c45de-a296-4f05-80ba-fc4758ac5caf","html_url":"https://github.com/nickenshidqia/SQL-for-Financial-Data-Analysis","commit_stats":null,"previous_names":["nickenshidqia/sql-for-financial-data-analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickenshidqia%2FSQL-for-Financial-Data-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickenshidqia%2FSQL-for-Financial-Data-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickenshidqia%2FSQL-for-Financial-Data-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickenshidqia%2FSQL-for-Financial-Data-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickenshidqia","download_url":"https://codeload.github.com/nickenshidqia/SQL-for-Financial-Data-Analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243153894,"owners_count":20244843,"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":["azure-data-studio","data-analysis","finance","microsoft-sql-server","sql"],"created_at":"2024-09-24T18:56:08.116Z","updated_at":"2026-03-09T18:04:32.438Z","avatar_url":"https://github.com/nickenshidqia.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Financial Reporting and Analysis System using SQL\n\n## Project Description\n\n**Overview :**  \nThe project aims to develop a comprehensive financial reporting and analysis system using SQL (Structured Query Language). The system will utilize five key datasets: general ledger, charts of accounts, territory, calendar, and cash flow. By leveraging these datasets, the system will generate essential financial reports including Profit and Loss (P\u0026L) statements, Balance Sheets, and Cash Flow statements.\n\n## Project Goal\n\nDesign SQL queries to generate accurate and timely financial reports including Profit and Loss statements, Balance Sheets, and Cash Flow statements.\n\n## Tools \u0026 Library Used\n\n[\u003cimg src=\"./image/azure-logo.jpg\" alt=\"python-logo\" width=\"170\"/\u003e](https://azure.microsoft.com/en-us/products/data-studio/) \u0026nbsp;\n\n## Project Result\n\n[Click here to get full code](https://github.com/nickenshidqia/SQL-for-Financial-Data-Analysis/blob/aac2494bee476ff112744a182a6accfbc82a9c8d/SQLQuery_finance.sql)\n\n### A. Profit \u0026 Loss Statement\n\n**Create pivot table report of profit and loss for 2018,2019,2020**  \n\u003cimg src=\"./image/pl2.png\" alt=\"\" width = \"550\"/\u003e\n\n**If we compare SQL Query to Excel result**  \n\u003cimg src=\"./image/excel_pl1.png\" alt=\"\" width = \"400\"/\u003e\n\n**Create pivot table report of profit and loss for 2018,2019,2020 for country France**  \n\u003cimg src=\"./image/pl3.png\" alt=\"\" width = \"550\"/\u003e\n\n**If we compare SQL Query to Excel result for France only**  \n\u003cimg src=\"./image/excel_pl2.png\" alt=\"\" width = \"400\"/\u003e\n\n**Calculating Profit \u0026 Loss Statement Related Values**  \n\u003cimg src=\"./image/excel_pl_all.png\" alt=\"\" width = \"400\"/\u003e\n\n**If we compare SQL Query to Excel Profit \u0026 Loss Statement Related Values**  \n\u003cimg src=\"./image/excel_pl_all.png\" alt=\"\" width = \"400\"/\u003e\n\n### B. Balance Sheet\n\n**Create pivot table report of balance sheet for 2018,2019,2020**  \n\u003cimg src=\"./image/bs1.png\" alt=\"\" width = \"700\"/\u003e\n\n**If we compare SQL Query to Excel result**  \n\u003cimg src=\"./image/excel_bs1.png\" alt=\"\" width = \"500\"/\u003e\n\n**Calculating Balance Sheet Related Values**  \n\u003cimg src=\"./image/bs_all.png\" alt=\"\" width = \"800\"/\u003e\n\n**If we compare SQL Query to Balance Sheet Excel result**\n\u003cimg src=\"./image/excel_bs_all.png\" alt=\"\" width = \"450\"/\u003e\n\n### C. Calculating Ratios\n\n\u003cimg src=\"./image/ratio1.png\" alt=\"\" width = \"700\"/\u003e  \n\u003cimg src=\"./image/ratio2.png\" alt=\"\" width = \"270\"/\u003e  \n\u003cimg src=\"./image/ratio3.png\" alt=\"\" width = \"500\"/\u003e  \n \n### D. Cash Flow Statement    \n**Calculating Cash Flow Related Values**  \n\u003cimg src=\"./image/CF.png\" alt=\"\" width = \"500\"/\u003e  \n   \n**If we compare SQL Query to Cash Flow Excel result**\n\u003cimg src=\"./image/excel_CF.png\" alt=\"\" width = \"450\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickenshidqia%2Fsql-for-financial-data-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickenshidqia%2Fsql-for-financial-data-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickenshidqia%2Fsql-for-financial-data-analysis/lists"}