Giter VIP home page Giter VIP logo

bda's Introduction

Bases de Datos avanzadas

In order to sucessfully create the project, the following scripts must be loaded in the corresponding order:

1. Project structure

1.1 Load tables

  • table_management_/tables.sql

1.2 Load sequences

  • secuences/sequences.sql

2. Initial data for each instance

2.1 CDMX

  • data_set/sucursal_cdmx.sql

2.2 QRO

  • data_set/sucursal_qro.sql

2.3 SLP

  • data_set/sucursal_qro.sql

3. Load ventas data depending on the "sucursal" you want

3.1 CDMX

  • data_set/ventas_cdmx_script.sql

3.2 QRO

  • data_set/ventas_qro_script.sql

3.3 SLP

  • data_set/ventas_slp_script.sql

4. Load compras script for 3 of the sucursales

  • data_set/compras.sql

5. Load ventas script for 3 of the sucursales, change s_id depending of the sucursal

CDMX = 1

QRO = 2

SLP = 3

  • data_set/ventas.sql

6. Load global views

  • views/cliente_global.sql
  • views/empleado_global.sql
  • views/inventario_ingredientes_global.sql
  • views/inventario_productos_global.sql
  • views/ventas_clientes.sql
  • views/ventas_globales.sql

7. Load procedures and triggers

  • procedures/actualizar_gastos.sql
  • procedures/comprar_proveedores.slq
  • procedures/dar_alta_empleado.sql
  • procedures/pagar_empleado.sql

8. Load transactions

  • procedures/transferir_empleado.sql
  • procedures/transferir_ingredientes.sql
  • procedures/transferir_producto.sql

bda's People

Contributors

ral15 avatar vanclief avatar

Watchers

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