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
| import random | |
| class Cliente: | |
| def __init__(self, dni, nombre, apellido, correo): | |
| self._dni = dni | |
| self._nombre = nombre | |
| self._apellido = apellido | |
| self._correo = correo | |
| def seleccionarFuncion(self, funcion): |
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
| -- Creacion de BD -- | |
| -- Desmarcado para correr en SQL Fiddle | |
| -- CREATE DATABASE LMS; | |
| -- USE LMS; | |
| CREATE TABLE usuarios ( | |
| dni BIGINT PRIMARY KEY, | |
| nombre VARCHAR(50) NOT NULL, | |
| apellido VARCHAR(50) NOT NULL, | |
| correo VARCHAR(320) UNIQUE NOT NULL, |
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
| /* | |
| * Programa creado por Jorge Duran para Somos Binarios | |
| */ | |
| #include <stdio.h> | |
| #include <errno.h> | |
| #include <stdlib.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <sys/ipc.h> |
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
| /* | |
| * Programa creado por Jorge Duran para Somos Binarios | |
| */ | |
| #include <stdio.h> | |
| #include <errno.h> | |
| #include <stdlib.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <sys/ipc.h> |
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 FARMACIA_IRENE | |
| USE FARMACIA_IRENE | |
| GO | |
| CREATE TABLE USUARIO( | |
| ID_USER INT IDENTITY(1,1), | |
| NOMRES VARCHAR(100) NULL, | |
| APELLIDO VARCHAR(100) NULL, | |
| TELEFONO NUMERIC(20) NULL, | |
| DIRECCION VARCHAR(100) NULL, |
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 ADMINISTRACION_UNCS | |
| USE ADMINISTRACION_UNCS | |
| CREATE TABLE Departamento ( | |
| codDepto varchar (4) PRIMARY KEY, | |
| nombreDpto varchar (20) NOT NULL, | |
| ciudad varchar (15), | |
| codDirector varchar (12) | |
| ); | |
| -- Creación de la tabla Empleado |