text: CREATE DATABASE  IF NOT EXISTS `cadastro` /*!40100 DEFAULT CHARACTER SET utf8 */;
  USE `cadastro`;
  -- MariaDB dump 10.17  Distrib 10.4.14-MariaDB, for Win64 (AMD64)
  --
  -- Host: 127.0.0.1    Database: cadastro
  -- ------------------------------------------------------
  -- Server version	10.4.14-MariaDB
  
  /*!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 `cursos`
  --
  
  DROP TABLE IF EXISTS `cursos`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `cursos` (
    `idcurso` int(11) NOT NULL,
    `nome` varchar(30) NOT NULL,
    `descricao` text DEFAULT NULL,
    `carga` int(10) unsigned DEFAULT NULL,
    `totaulas` int(10) unsigned DEFAULT NULL,
    `ano` year(4) DEFAULT 2016,
    PRIMARY KEY (`idcurso`),
    UNIQUE KEY `nome` (`nome`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `cursos`
  --
  
  LOCK TABLES `cursos` WRITE;
  /*!40000 ALTER TABLE `cursos` DISABLE KEYS */;
  INSERT INTO `cursos` VALUES (1,'html5','curso de html5',40,37,2014),(2,'algoritmos','logica de programação',20,15,2014),(3,'photoshop','dicas de photohop  CC',10,8,2014),(4,'php','curso de php para iniciantes',40,20,2015),(5,'java','introdução a linguagem java',40,29,2015),(6,'mysql','banco de dados sql',30,15,2016),(7,'word','curso completo de word',40,30,2016);
  /*!40000 ALTER TABLE `cursos` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `pessoas`
  --
  
  DROP TABLE IF EXISTS `pessoas`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `pessoas` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `nome` varchar(30) NOT NULL,
    `nascimento` date DEFAULT NULL,
    `sexo` enum('M','F') DEFAULT NULL,
    `peso` decimal(5,2) DEFAULT NULL,
    `altura` decimal(3,2) DEFAULT NULL,
    `nacionalidade` varchar(20) DEFAULT 'brasil',
    `prof` varchar(20) DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `pessoas`
  --
  
  LOCK TABLES `pessoas` WRITE;
  /*!40000 ALTER TABLE `pessoas` DISABLE KEYS */;
  /*!40000 ALTER TABLE `pessoas` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Dumping events for database 'cadastro'
  --
  
  --
  -- Dumping routines for database 'cadastro'
  --
  /*!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 2020-11-15 15:15:12
  