Skip to content

k-l-yeung/Advanced_SQL_on_NBA_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Motivation

  • Use advanced SQL technique to answer some questions regarding the NBA
  • Some answers match successfully with independent reports

Method

  • SQL technique applied
    • common table expression (CTE)
    • row_number() over()
    • rank() over()
    • left join, inner join
    • union all
    • min(), max(), round(), sum(), avg(), abs(), count()
    • alias for columns and tables
    • case ... when ...
    • group_concat()
  • Python libraries used
    • pandas
    • sqlite3
    • os
  • PhD in Cognitive Psychology, Iowa State University in Ames, Iowa, USA

Social media:

Data source

  1. Overview
  2. About the author: Kam Leung Yeung
  3. Table of content
  4. Read in data
  5. Read pandas dataframe into sql database
  6. Questions to be answered

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published