0% found this document useful (0 votes)
243 views1 page

SQL Portfolio Project

This document provides instructions for a SQL portfolio project analyzing a credit card transactions dataset. It includes downloading the data, importing it into SQL Server and renaming columns. It then lists 10 questions to answer by writing SQL queries exploring the dataset and its findings. The questions include identifying top cities by spend, highest spend months by card type, transaction details when spending reaches $1M by card type, the city with the lowest spend percentage for gold cards, and percentage contribution of female spending by expense type. Once completed, the document instructs to create a GitHub repo and include the link in a resume.

Uploaded by

Aditya Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
243 views1 page

SQL Portfolio Project

This document provides instructions for a SQL portfolio project analyzing a credit card transactions dataset. It includes downloading the data, importing it into SQL Server and renaming columns. It then lists 10 questions to answer by writing SQL queries exploring the dataset and its findings. The questions include identifying top cities by spend, highest spend months by card type, transaction details when spending reaches $1M by card type, the city with the lowest spend percentage for gold cards, and percentage contribution of female spending by expense type. Once completed, the document instructs to create a GitHub repo and include the link in a resume.

Uploaded by

Aditya Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

SQL porfolio project.

download credit card transactions dataset from below link :


https://www.kaggle.com/datasets/thedevastator/analyzing-credit-card-spending-
habits-in-india
import the dataset in sql server with table name : credit_card_transcations
change the column names to lower case before importing data to sql server.Also
replace space within column names with underscore.
(alternatively you can use the dataset present in zip file)
while importing make sure to change the data types of columns. by defualt it shows
everything as varchar.

write 4-6 queries to explore the dataset and put your findings

solve below questions


1- write a query to print top 5 cities with highest spends and their percentage
contribution of total credit card spends
2- write a query to print highest spend month and amount spent in that month for
each card type
3- write a query to print the transaction details(all columns from the table) for
each card type when
it reaches a cumulative of 1000000 total spends(We should have 4 rows in the o/p
one for each card type)
4- write a query to find city which had lowest percentage spend for gold card type
5- write a query to print 3 columns: city, highest_expense_type ,
lowest_expense_type (example format : Delhi , bills, Fuel)
6- write a query to find percentage contribution of spends by females for each
expense type
7- which card and expense type combination saw highest month over month growth in
Jan-2014
9- during weekends which city has highest total spend to total no of transcations
ratio
10- which city took least number of days to reach its 500th transaction after the
first transaction in that city

once you are done with this create a github repo to put that link in your resume.
Some example github links:
https://github.com/ptyadana/SQL-Data-Analysis-and-Visualization-Projects/tree/
master/Advanced%20SQL%20for%20Application%20Development
https://github.com/AlexTheAnalyst/PortfolioProjects/blob/main/COVID%20Portfolio
%20Project%20-%20Data%20Exploration.sql

You might also like