-
Notifications
You must be signed in to change notification settings - Fork 0
/
sistema.sql
135 lines (110 loc) · 4.48 KB
/
sistema.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
CREATE DATABASE sistema;
USE sistema;
-- phpMyAdmin SQL Dump
-- version 4.2.12deb2+deb8u1build0.15.04.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 29, 2015 at 05:34 PM
-- Server version: 5.6.27-0ubuntu0.15.04.1
-- PHP Version: 5.6.4-4ubuntu6.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
--
-- Database: `sistema`
--
-- --------------------------------------------------------
--
-- Table structure for table `alumno`
--
CREATE TABLE IF NOT EXISTS `alumno` (
`Codigo` int(11) NOT NULL,
`Nombre` varchar(45) NOT NULL,
`Correo` varchar(45) DEFAULT NULL,
`Telefono` int(11) DEFAULT NULL,
`Estatus` varchar(45) DEFAULT NULL,
`Modalidad` varchar(45) DEFAULT NULL,
`Creditos` int(11) DEFAULT NULL,
`Ingreso` date DEFAULT NULL,
`Egreso` date DEFAULT NULL,
`Semestre` int(11) DEFAULT NULL,
`Carrera` varchar(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `alumno`
--
INSERT INTO `alumno` (`Codigo`, `Nombre`, `Correo`, `Telefono`, `Estatus`, `Modalidad`, `Creditos`, `Ingreso`, `Egreso`, `Semestre`, `Carrera`) VALUES
(93659317, 'BAUTISTA MURILLO, JOSE CARLOS', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(207513453, 'CERVANTES BERAUD, JOSE JUAN', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(207522673, 'COPADO MORA, ADRIAN', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(207711689, 'BARRAGAN GUEVARA, FREDDY', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'LTIN'),
(208671591, 'GARCIA SANCHEZ, JESUS ANGEL', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(208694931, 'Manuel Alejandro Urbano Alcalá', NULL, NULL, 'Activo', 'Tesis, tesina e informes', 0, '2012-08-19', NULL, 2, ''),
(209664068, 'Capetillo Gomez Delia Nayeli', NULL, NULL, 'Activo', NULL, NULL, '2012-08-19', NULL, NULL, ''),
(209692754, 'GONZALEZ ORTEGA, CYNTHIA PAOLA', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'LTIN'),
(209695591, 'LEONIDES HERNANDEZ, LORENA YATZMIN', NULL, NULL, '', '', 352, '0000-00-00', NULL, 7, 'LTIN'),
(212247176, 'ARANDA CARRANZA, MICHELLE NOEMI', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(212247427, 'RODRIGUEZ VALADEZ, MARICELA', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'LTIN'),
(212342136, 'CONTRERAS HERNANDEZ, JUAN RAMON', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'LTIN'),
(212342144, 'OROZCO HERNANDEZ, MIGUEL ANGEL', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(212342233, 'VAZQUEZ BRISENO, OMAR ALEJANDRO', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(212342292, 'PEREZ NAPOLES, VIRIDIANA JACQU', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN'),
(212342314, 'MENDIVIL SERNA, ROSA HELYA', NULL, NULL, NULL, NULL, NULL, '0000-00-00', NULL, NULL, 'SIN');
-- --------------------------------------------------------
--
-- Table structure for table `modalidades`
--
CREATE TABLE IF NOT EXISTS `modalidades` (
`Modalidad` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `modalidades`
--
INSERT INTO `modalidades` (`Modalidad`) VALUES
('Tesis, tesina e informes'),
('Examenes CENEVAL,Global Teorico Practico'),
('Certificasion'),
('Promedio'),
('Excelencia Academica.');
-- --------------------------------------------------------
--
-- Table structure for table `semestre`
--
CREATE TABLE IF NOT EXISTS `semestre` (
`Creditos` int(11) NOT NULL,
`Codigo` int(11) DEFAULT NULL,
`Semestre` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `status`
--
CREATE TABLE IF NOT EXISTS `status` (
`Estatus` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `status`
--
INSERT INTO `status` (`Estatus`) VALUES
('Activo'),
('Licencia'),
('Articulo 33'),
('Articulo 34'),
('Articulo 35'),
('Articulo 36'),
('Egresado');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `alumno`
--
ALTER TABLE `alumno`
ADD PRIMARY KEY (`Codigo`);
/*!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 */;