-- phpMyAdmin SQL Dump-- version 4.5.1-- http://www.phpmyadmin.net---- Servidor: 127.0.0.1-- Tiempo de generación: 06-06-2016 a las 19:55:46-- Versión del servidor: 10.1.10-MariaDB-- Versión de PHP: 7.0.2SETSQL_MODE="NO_AUTO_VALUE_ON_ZERO";SETtime_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: `plantilla`---- ------------------------------------------------------------ Estructura de tabla para la tabla `productos`--CREATETABLE`productos`(`codigo`int(11)NOTNULL,`nombre`varchar(200)COLLATEutf8_spanish2_ciNOTNULL,`precio`floatNOTNULL,`descripcion`longtextCOLLATEutf8_spanish2_ciNOTNULL,`imagen`varchar(200)COLLATEutf8_spanish2_ciNOTNULL)ENGINE=InnoDBDEFAULTCHARSET=utf8COLLATE=utf8_spanish2_ci;---- Volcado de datos para la tabla `productos`--INSERTINTO`productos`(`codigo`,`nombre`,`precio`,`descripcion`,`imagen`)VALUES(1,'Impresora a color',123,'La descripcion de la impresora, que .....','impresora.jpg'),(2,'aaaaa',23,'asd asd ',''),(3,'asda sd',67,'asd asd asd ',''),(4,'asdasd',23,'adsasd','Koala.jpg'),(5,'koala',12,'sdf','Koala.jpg');---- Índices para tablas volcadas------ Indices de la tabla `productos`--ALTERTABLE`productos`ADDPRIMARYKEY(`codigo`);---- AUTO_INCREMENT de las tablas volcadas------ AUTO_INCREMENT de la tabla `productos`--ALTERTABLE`productos`MODIFY`codigo`int(11)NOTNULLAUTO_INCREMENT,AUTO_INCREMENT=6;/*!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 */;
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.