UNIDAD 3 - Creacion de Tablas

Creacion de Tablas Tablas Codigo AdminBD.java BaseDatos.execSQL ( "create table CLIENTE" + "(cedula int primary key," + "nombre text, " + "direccion text, " + "telefono int)" ) ; BaseDatos.execSQL ( "create table PEDIDO" + "(codigoP int primary key, " + "descripcionP text, " + "fechaP date, " + "cantidadP int," + "cedula int, " + "foreign key (cedula) references CLIENTE(cedula))" ) ; BaseDatos.execSQL ( "create table PRODUCTO" + "(codigoPr int primary key," + "descripcionPr text," + "valorPr money," + "codigoP int , " + "foreign key (codigoP) references PEDIDO(codigoP))" ) ; BaseDatos.execSQL ( "create table FACTURA " + "(numeroF int primary key, " + "fechaF date," + "totalF money, " + "codigoPr int, " + "foreign key (codigoPr) references PRODUC...