Beruflich Dokumente
Kultur Dokumente
Sucursal Cuenta
PK nom bre_sucursal PK num ero_cuenta
ciudad_sucursal FK nombre_sucursal
activos saldo
Impositor
Prestamo
PF nom bre_cliente
PK num ero_prestam o FK numero_cuenta
FK nombre_sucursal
importe
Cliente
Prestatario PK nom bre_cliente
PF nom bre_cliente calle_cliente
FK numero_prestamo ciudad_cliente
2. Construir el script del esquema de creacion de la base de datos para el manejo de la base
de datos PosgreSQL y ejecutarlo en el.
/* ---------------------------------------------------------------
------- */
/* Script generated with: DeZign for Databases V8.1.2
*/
/* Target DBMS: PostgreSQL 9
*/
/* Project file: Examen.dez
*/
/* Project name:
*/
BASE DE DATOS II JASON STEVEN SALGADO POLITO
/* Author:
*/
/* Script type: Database creation script
*/
/* Created on: 2017-06-23 10:39
*/
/* ---------------------------------------------------------------
------- */
/* ---------------------------------------------------------------
------- */
/* Add tables
*/
/* ---------------------------------------------------------------
------- */
/* ---------------------------------------------------------------
------- */
/* Add table "Sucursal"
*/
/* ---------------------------------------------------------------
------- */
/* ---------------------------------------------------------------
------- */
/* Add table "Cuenta"
*/
/* ---------------------------------------------------------------
------- */
/* ---------------------------------------------------------------
------- */
/* Add table "Prestamo"
*/
/* ---------------------------------------------------------------
------- */
);
/* ---------------------------------------------------------------
------- */
/* Add table "Cliente"
*/
/* ---------------------------------------------------------------
------- */
/* ---------------------------------------------------------------
------- */
/* Add table "Impositor"
*/
/* ---------------------------------------------------------------
------- */
/* ---------------------------------------------------------------
------- */
/* Add table "Prestatario"
*/
/* ---------------------------------------------------------------
------- */
/* ---------------------------------------------------------------
------- */
/* Add foreign key constraints
*/
/* ---------------------------------------------------------------
------- */
3. Crear el script de insercin a las tablas de acuerdo a los datos prestados en el dibujo
anterior.