Code Monkey home page Code Monkey logo

sql's Introduction

Introduction

These queries were built for Amazon's internal ETL system to run as automated reports displaying the latest inventory/process metrics on a daily or weekly basis. For all I know, some of these queries may be running to this day, but the files in this repository are archived, lightly redacted copies of the original queries. The dates on each file name roughly correspond to when I completed them.

These queries pull, join, and transform data on storage capacity, inventory records, outbound shipments, purchase orders, and more in order to generate new insights, and all of them were originally written to pull data specifically for the warehouse at which I worked. However, most of the queries are parameterized with wildcards so that the Amazon ETL system could substitute in other warehouse ID codes and thereby send out multiple warehouse-specific reports from a single query. Several of my queries were thus used more widely within the Amazon fulfillment network, with jobs for those queries running every day and being sent to the operations teams at several different warehouses.

Most of these queries report on inventory quality or storage capacity metrics of some kind. They mostly use basic operators like SELECT, WHERE, JOIN, GROUP BY, HAVING, CASE WHEN, etc, but some of them involve complex series of joins and/or a high degree of filtering.

sql's People

Contributors

mciethan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.