Created
October 22, 2018 22:01
-
-
Save dario-javier-rick/cce49414e944ffc0564d501257ce1d42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE TP2; | |
CREATE TABLE persona | |
( | |
usuario_id SERIAL PRIMARY KEY, | |
apellido VARCHAR2(50), | |
nombre VARCHAR2(50), | |
usuario VARCHAR2(50), | |
clave TEXT | |
); | |
CREATE TABLE peliculas | |
( | |
película_id SERIAL PRIMARY KEY, | |
nombre VARCHAR2(50) | |
); | |
CREATE TABLE pelis_que_vio | |
( | |
usuario_id INT, | |
película_id INT | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment