Giter Site home page Giter Site logo

ramortegui / e-commerce-db Goto Github PK

View Code? Open in Web Editor NEW
350.0 25.0 175.0 2.3 MB

Database schema for e-commerce (webstores) sites.

License: GNU General Public License v3.0

HTML 96.57% Elixir 3.43%
ecommerce postgresql mysql db2 informix ingress sas sqlite sybase e-commerce

e-commerce-db's People

Contributors

ramortegui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

e-commerce-db's Issues

Request: product attributes, example SQL queries

Hi @ramortegui - many thanks for this very useful little project! It's great for noobs and it has certainly helped me out with my personal project.

However, defining data is one thing, querying for it is another. As someone not very familiar with writing complex SQL statements, it would be great if you could include a list of example queries (ranging from the simplest such as select all products from category to more complex such as a hierarchical category list and so on).

Another thing that I think is missing from the DB is product attributes, such as: colour, size, etc. These could be stored in two new tables, pretty much like tags, but with an additional name field. What do you think?

Many thanks for your wonderful work on this project,
John

Insights on the product tables

I was just going through the DDL's provided. Could you give a little insights about the following tables:

  1. products
  2. product_statuses
  3. product_categories
  4. product_tags

What is the purpose of these tables? If possible could you give an example??

Giving error when importing the file

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'time zone not null,
updated_at timestamp with time zone not null,

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.