Introduction To SQL Programming For Excel Users
Introduction To SQL Programming For Excel Users
Introduction To SQL Programming For Excel Users
PROGRAMMING
FOR EXCEL USERS
SQL unlocks the power of the database server for Excel analysts. This has
many benefits, including:
For the reasons listed above, and many others, SQL is one of the most
valuable (if not THE most valuable) of all data skills.
https://bit.ly/AnalyticsFreeResources 2
INTRO TO SQL FOR EXCEL USERS
Selecting Columns
It is a common practice to hide columns of data in Excel - especially in
scenarios where you are sharing a workbook with others.
You can also think of this, logically, as choosing which columns you want
people to focus on.
https://bit.ly/AnalyticsFreeResources 3
INTRO TO SQL FOR EXCEL USERS
Just about everything you do with tables of data in Excel applies to working
with tables of data in SQL.
Here is legit SQL code that maps to the screenshots on the previous page:
SELECT WageType,
Shift,
LevelOneOperators,
LevelTwoOperators,
Calls,
Data
FROM CallCenter
SQL allows you to specify what you want to have happen and then the
database figures out how to do it.
https://bit.ly/AnalyticsFreeResources 4
INTRO TO SQL FOR EXCEL USERS
Filtering Rows
When working with Excel tables you filter. A lot.
Whew!
When listed out it seems complicated, but Excel users do this all the time.
https://bit.ly/AnalyticsFreeResources 5
INTRO TO SQL FOR EXCEL USERS
"I want only the rows of data from the CallCenter table where value of the
Shift column equals PM1."
https://bit.ly/AnalyticsFreeResources 6
INTRO TO SQL FOR EXCEL USERS
SELECT WageType,
Shift,
LevelOneOperators,
LevelTwoOperators,
Calls,
Data
FROM CallCenter
WHERE Shift = 'PM1'
While this is a simple example, it demonstrates that Excel users can quickly
become productive by mapping what they do in Excel every day to
accomplishing the same tasks in SQL.
My 21-part self-paced tutorial will teach you the 20% of SQL that is used
80% of the time for analyzing data.
https://bit.ly/AnalyticsFreeResources 7
INTRO TO SQL FOR EXCEL USERS
I've built hours of free tutorials that have been used by 1000s of
professionals to build the data skills of the future.
https://bit.ly/AnalyticsFreeResources
8
INTRO TO SQL FOR EXCEL USERS
https://bit.ly/AnalyticsFreeResources 9