--   MySQL dump 10.13 Distrib 5.7.
17, for Win64 (x86_64)
--
--   Host: localhost    Database: laboratorio_1
--   ------------------------------------------------------
--   Server version       5.7.17-log
/*!40101   SET   @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101   SET   @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101   SET   @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101   SET   NAMES utf8 */;
/*!40103   SET   @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103   SET   TIME_ZONE='+00:00' */;
/*!40014   SET   @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014   SET   @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0
*/;
/*!40101   SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111   SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `actividades`
--
DROP TABLE IF EXISTS `actividades`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `actividades` (
  `idActividades` int(11) NOT NULL,
  `Tipo_Actividad` varchar(45) DEFAULT NULL,
  `Fecha_Inicio` date DEFAULT NULL,
  `Valor_Producido` double DEFAULT NULL,
  `Valor_Gastado` double DEFAULT NULL,
  PRIMARY KEY (`idActividades`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `actividades`
--
LOCK TABLES `actividades` WRITE;
/*!40000 ALTER TABLE `actividades` DISABLE KEYS */;
/*!40000 ALTER TABLE `actividades` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary view structure for view `creacion_vista`
--
DROP TABLE IF EXISTS `creacion_vista`;
/*!50001 DROP VIEW IF EXISTS `creacion_vista`*/;
SET @saved_cs_client      = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `creacion_vista` AS SELECT
 1 AS `idDesmovilizados`,
 1 AS `Nombres`,
 1 AS `Apellidos`,
 1 AS `Alias`,
 1 AS `Numero_Celular`,
 1 AS `Zona_Concentracion`,
 1 AS `Direccion_Residencia`,
 1 AS `Tipo_Sangre`*/;
SET character_set_client = @saved_cs_client;
--
-- Table structure for table `desmovilizados`
--
DROP TABLE IF EXISTS `desmovilizados`;
/*!40101 SET @saved_cs_client      = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `desmovilizados` (
  `idDesmovilizados` int(11) NOT NULL,
  `Nombres` varchar(45) DEFAULT NULL,
  `Apellidos` varchar(45) DEFAULT NULL,
  `Alias` varchar(45) DEFAULT NULL,
  `Numero_Celular` decimal(10,0) DEFAULT NULL,
  `Zona_Concentracion` varchar(45) DEFAULT NULL,
  `Direccion_Residencia` varchar(45) DEFAULT NULL,
  `Tipo_Sangre` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`idDesmovilizados`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `desmovilizados`
--
LOCK TABLES `desmovilizados` WRITE;
/*!40000 ALTER TABLE `desmovilizados` DISABLE KEYS */;
/*!40000 ALTER TABLE `desmovilizados` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `giros`
--
DROP TABLE IF EXISTS `giros`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `giros` (
  `idGiros` int(11) NOT NULL,
  `Fecha_Giro` date DEFAULT NULL,
  `Valor_Giro` double DEFAULT NULL,
  `Entidad` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`idGiros`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `giros`
--
LOCK TABLES `giros` WRITE;
/*!40000 ALTER TABLE `giros` DISABLE KEYS */;
/*!40000 ALTER TABLE `giros` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `pagador`
--
DROP TABLE IF EXISTS `pagador`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pagador` (
  `idPagador` int(11) NOT NULL,
  `Nombres` varchar(45) DEFAULT NULL,
  `Apellidos` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`idPagador`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `pagador`
--
LOCK TABLES `pagador` WRITE;
/*!40000 ALTER TABLE `pagador` DISABLE KEYS */;
/*!40000 ALTER TABLE `pagador` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `proyecto`
--
DROP TABLE IF EXISTS `proyecto`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `proyecto` (
  `idProyecto` int(11) NOT NULL,
  `Descripcion_Proyecto` varchar(45) DEFAULT NULL,
  `Nombre_Proyecto` varchar(45) DEFAULT NULL,
  `Ubicacion` varchar(45) DEFAULT NULL,
  `Valor` double DEFAULT NULL,
  PRIMARY KEY (`idProyecto`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `proyecto`
--
LOCK TABLES `proyecto` WRITE;
/*!40000 ALTER TABLE `proyecto` DISABLE KEYS */;
/*!40000 ALTER TABLE `proyecto` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tarjeta`
--
DROP TABLE IF EXISTS `tarjeta`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tarjeta` (
  `idtarjeta` int(11) NOT NULL,
  `Fecha_Apertura` date DEFAULT NULL,
  `Fecha_Pago` date DEFAULT NULL,
  `Valor_Pago` double DEFAULT NULL,
  PRIMARY KEY (`idtarjeta`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tarjeta`
--
LOCK TABLES `tarjeta` WRITE;
/*!40000 ALTER TABLE `tarjeta` DISABLE KEYS */;
/*!40000 ALTER TABLE `tarjeta` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ubicacion`
--
DROP TABLE IF EXISTS `ubicacion`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ubicacion` (
  `idubicacion` int(11) NOT NULL,
  `Departamento` varchar(45) DEFAULT NULL,
  `Municipio` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`idubicacion`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ubicacion`
--
LOCK TABLES `ubicacion` WRITE;
/*!40000 ALTER TABLE `ubicacion` DISABLE KEYS */;
/*!40000 ALTER TABLE `ubicacion` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Final view structure for view `creacion_vista`
--
/*!50001 DROP VIEW IF EXISTS `creacion_vista`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8 */;
/*!50001 SET character_set_results     = utf8 */;
/*!50001 SET collation_connection      = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `creacion_vista` AS select `desmovilizados`.`idDesmovilizados` AS
`idDesmovilizados`,`desmovilizados`.`Nombres` AS `Nombres`,`desmovilizados`.`Ape
llidos` AS `Apellidos`,`desmovilizados`.`Alias` AS `Alias`,`desmovilizados`.`Num
ero_Celular` AS `Numero_Celular`,`desmovilizados`.`Zona_Concentracion` AS `Zona_
Concentracion`,`desmovilizados`.`Direccion_Residencia` AS `Direccion_Residencia`
,`desmovilizados`.`Tipo_Sangre` AS `Tipo_Sangre` from `desmovilizados` where (`d
esmovilizados`.`idDesmovilizados` = 1) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101   SET   SQL_MODE=@OLD_SQL_MODE */;
/*!40014   SET   FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014   SET   UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101   SET   CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101   SET   CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101   SET   COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111   SET   SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2017-03-31 20:30:21