Pueba

Páginas: 3 (555 palabras) Publicado: 6 de mayo de 2011
-- phpMyAdmin SQL Dump
-- version 3.2.0
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 02, 2009 at 10:17 AM
-- Server version: 5.0.75
-- PHP Version:5.2.6-3ubuntu4.2

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

/*!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: `shop`
--

-- --------------------------------------------------------

--
-- Table structurefor table `cart`
--

CREATE TABLE IF NOT EXISTS `cart` (
`id_cart` tinyint(4) NOT NULL auto_increment,
`pedido_id` tinyint(4) NOT NULL,
`disco_id` tinyint(4) NOT NULL,
PRIMARY KEY(`id_cart`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

--
-- Dumping data for table `cart`
--

-- --------------------------------------------------------

---- Table structure for table `discos`
--

CREATE TABLE IF NOT EXISTS `discos` (
`id_disc` tinyint(4) NOT NULL auto_increment,
`dis_artist` varchar(50) collate utf8_unicode_ci NOT NULL,`dis_name` varchar(100) collate utf8_unicode_ci NOT NULL,
`dis_year` varchar(4) collate utf8_unicode_ci NOT NULL,
`dis_genre` varchar(20) collate utf8_unicode_ci NOT NULL,
`dis_price` float NOTNULL,
PRIMARY KEY (`id_disc`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=36 ;

--
-- Dumping data for table `discos`
--

INSERT INTO `discos` (`id_disc`,`dis_artist`, `dis_name`, `dis_year`, `dis_genre`, `dis_price`) VALUES
(1, 'The Cure', '4:13 Dream', '2008', 'Rock', 189),
(2, 'Incubus', 'Make Yourself', '1999', 'Alternative', 156),
(3, 'TheBeatles', 'Let It Be', '1970', 'Rock', 185),
(4, 'Oasis', '(What''s The Story) Morning Glory?', '1995', 'Alternative', 145),
(5, 'Hoobastank', 'The Reason', '2003', 'Pop', 145),
(6, 'Sixpence Non The...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • pueba
  • pueba
  • Pueba
  • Pueba
  • Pueba
  • pueba
  • pueba
  • pueba farenheit

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS