PHP Classes

File: MySqlDatabase/school.sql

Recommend this page to a friend!
  Classes of Jesus Tovar   Simple Students CRUD   MySqlDatabase/school.sql   Download  
File: MySqlDatabase/school.sql
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple Students CRUD
Perform CRUD operations on a students MySQL table
Author: By
Last change:
Date: 8 years ago
Size: 1,744 bytes
 

Contents

Class file image Download
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 09-06-2016 a las 04:45:54 -- Versión del servidor: 10.1.13-MariaDB -- Versión de PHP: 5.5.35 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 utf8mb4 */; -- -- Base de datos: `school` -- CREATE DATABASE IF NOT EXISTS `school` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `school`; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `students` -- DROP TABLE IF EXISTS `students`; CREATE TABLE `students` ( `id_student` int(11) NOT NULL, `student_name` varchar(65) NOT NULL, `student_age` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Truncar tablas antes de insertar `students` -- TRUNCATE TABLE `students`; -- -- Volcado de datos para la tabla `students` -- INSERT INTO `students` (`id_student`, `student_name`, `student_age`) VALUES (18, 'Mario Dominguez', 22); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `students` -- ALTER TABLE `students` ADD PRIMARY KEY (`id_student`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `students` -- ALTER TABLE `students` MODIFY `id_student` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; /*!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 */;