Code Monkey home page Code Monkey logo

sql-rc-database's Introduction

SQL-RC-database

An entire PostgreSQL database built from the ground up for storing RC characteristics and features in an arbitrary "Local Store", that allows customer pick-up orders and re-stocking orders from "Vendors". The SQL script build_database.sql is re-runnable in its entirety so that the database can be easily brought up on your own PGAdmin server; queries.sql are some suggested queries to pull relevant data from the database in a generalized use case scenario.

Project Overview

  • 12 tables with FK/PK's and relationships (Crow's-foot design)
  • DROP TABLE statements (whole build_database.sql is re-runnable)
  • Full Entity-Relationship Diagram
  • Foreign Keys
  • Indexes, although unnecessary until there is more data loaded
  • Specialization-Generalization Relationship
  • < 10 RC models included (more to be added, probably via spreadsheets)
  • Triggers & Stored Procedures for a few cases that this DB would encounter in regular use

Docs

Direct link to PDF

There is a very comprehensive docs file in the form of a PDF located in ./docs which I have linked above. It includes a description for many of this DB's general design and specific concepts that were taken into consideration while building it. It also contains a data dictionary, use cases, and sample screenshots of PGAdmin results based on the triggers, queries, and stored procedures.

Entity-Relationship Diagram (ERD):

ERD

sql-rc-database's People

Contributors

glider4 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.