Sie sind auf Seite 1von 3

------

MySQL dump 10.13 Distrib 5.1.32, for Win32 (ia32)


Host: localhost
Database: premierproducts
-----------------------------------------------------Server version
5.1.32-community

/*!40101
/*!40101
/*!40101
/*!40101
/*!40103
/*!40103
/*!40014
/*!40014
*/;
/*!40101
/*!40111

SET
SET
SET
SET
SET
SET
SET
SET

@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
NAMES utf8 */;
@OLD_TIME_ZONE=@@TIME_ZONE */;
TIME_ZONE='+00:00' */;
@OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
@OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0

SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;


SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--- Table structure for table `orderline`


-DROP TABLE IF EXISTS `orderline`;
SET @saved_cs_client
= @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `orderline` (
`ordernum` char(5) NOT NULL DEFAULT '',
`partnum` char(4) NOT NULL DEFAULT '',
`numordered` decimal(3,0) DEFAULT NULL,
`quotedprice` decimal(6,2) DEFAULT NULL,
PRIMARY KEY (`ordernum`,`partnum`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;
--- Dumping data for table `orderline`
-LOCK TABLES `orderline` WRITE;
/*!40000 ALTER TABLE `orderline` DISABLE KEYS */;
INSERT INTO `orderline` VALUES ('21608','AT94','11','21.95'),('21610','DR93','1'
,'495.00'),('21610','DW11','1','399.99'),('21613','KL62','4','329.95'),('21614',
'KT03','2','595.00'),('21617','BV06','2','794.95'),('21617','CD52','4','150.00')
,('21619','DR93','1','495.00'),('21623','KV29','2','1290.00');
/*!40000 ALTER TABLE `orderline` ENABLE KEYS */;
UNLOCK TABLES;
--- Table structure for table `orders`
-DROP TABLE IF EXISTS `orders`;
SET @saved_cs_client
= @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `orders` (
`ordernum` char(5) NOT NULL,
`orderdate` date DEFAULT NULL,
`customernum` char(3) DEFAULT NULL,
PRIMARY KEY (`ordernum`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

SET character_set_client = @saved_cs_client;


--- Dumping data for table `orders`
-LOCK TABLES `orders` WRITE;
/*!40000 ALTER TABLE `orders` DISABLE KEYS */;
INSERT INTO `orders` VALUES ('21608','2010-10-20','148'),('21610','2010-10-20','
356'),('21613','2010-10-20','408'),('21614','2010-10-20','282'),('21617','2010-1
0-23','608'),('21619','2010-10-23','148'),('21623','2010-10-23','608');
/*!40000 ALTER TABLE `orders` ENABLE KEYS */;
UNLOCK TABLES;
--- Table structure for table `part`
-DROP TABLE IF EXISTS `part`;
SET @saved_cs_client
= @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `part` (
`partnum` char(4) NOT NULL,
`description` char(15) DEFAULT NULL,
`onhand` int(11) DEFAULT NULL,
`class` char(2) DEFAULT NULL,
`warehouse` char(3) DEFAULT NULL,
`price` decimal(6,2) DEFAULT NULL,
PRIMARY KEY (`partnum`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;
--- Dumping data for table `part`
-LOCK TABLES `part` WRITE;
/*!40000 ALTER TABLE `part` DISABLE KEYS */;
INSERT INTO `part` VALUES ('AT94','Iron',50,'HW','3','24.95'),('BV06','Home Gym'
,45,'SG','2','794.95'),('CD52','Microwave Oven',32,'AP','1','165.00'),('DL71','C
ordless Drill',21,'HW','3','129.95'),('DR93','Gas Range',8,'AP','2','495.00'),('
DW11','Washer',12,'AP','3','399.99'),('FD21','Stand Mixer',22,'HW','3','159.95')
,('KL62','Dryer',12,'AP','1','349.95'),('KT03','Dishwasher',8,'AP','3','595.00')
,('KV29','Treadmill',9,'SG','2','1390.00');
/*!40000 ALTER TABLE `part` ENABLE KEYS */;
UNLOCK TABLES;
--- Table structure for table `rep`
-DROP TABLE IF EXISTS `rep`;
SET @saved_cs_client
= @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `rep` (
`repnum` char(2) NOT NULL,
`lastname` char(15) DEFAULT NULL,
`firstname` char(15) DEFAULT NULL,
`street` char(15) DEFAULT NULL,
`city` char(15) DEFAULT NULL,

`state` char(2) DEFAULT NULL,


`zip` char(5) DEFAULT NULL,
`commission` decimal(7,2) DEFAULT NULL,
`rate` decimal(3,2) DEFAULT NULL,
PRIMARY KEY (`repnum`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;
--- Dumping data for table `rep`
-LOCK TABLES `rep` WRITE;
/*!40000 ALTER TABLE `rep` DISABLE KEYS */;
INSERT INTO `rep` VALUES ('20','Kaiser','Valerie','624 Randall','Grove','Fl','33
321','20542.50','0.05'),('35','Hull','Richard','532 Jackson','Grove','Fl','33553
','39216.00','0.07'),('65','Perez','Juan','1626 Taylor','Fillmore','Fl','3336','
23487.00','0.05');
/*!40000 ALTER TABLE `rep` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101
/*!40014
/*!40014
/*!40101
/*!40101
/*!40101
/*!40111

SET
SET
SET
SET
SET
SET
SET

SQL_MODE=@OLD_SQL_MODE */;
FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2011-02-08 17:35:09

Das könnte Ihnen auch gefallen