· 9 years ago · Nov 07, 2016, 04:54 PM
1-- MySQL dump 10.13 Distrib 5.6.17, for Win64 (x86_64)
2--
3-- Host: localhost Database: grocery
4-- ------------------------------------------------------
5-- Server version 5.6.17
6
7/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10/*!40101 SET NAMES utf8 */;
11/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12/*!40103 SET TIME_ZONE='+00:00' */;
13/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
16/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17
18--
19-- Table structure for table `color`
20--
21
22DROP TABLE IF EXISTS `color`;
23/*!40101 SET @saved_cs_client = @@character_set_client */;
24/*!40101 SET character_set_client = utf8 */;
25CREATE TABLE `color` (
26 `id` int(11) NOT NULL AUTO_INCREMENT,
27 `color` varchar(255) DEFAULT NULL,
28 PRIMARY KEY (`id`)
29) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
30/*!40101 SET character_set_client = @saved_cs_client */;
31
32--
33-- Dumping data for table `color`
34--
35
36LOCK TABLES `color` WRITE;
37/*!40000 ALTER TABLE `color` DISABLE KEYS */;
38INSERT INTO `color` VALUES (1,'red'),(2,'orange'),(3,'purple'),(4,'yellow');
39/*!40000 ALTER TABLE `color` ENABLE KEYS */;
40UNLOCK TABLES;
41
42--
43-- Table structure for table `fruit`
44--
45
46DROP TABLE IF EXISTS `fruit`;
47/*!40101 SET @saved_cs_client = @@character_set_client */;
48/*!40101 SET character_set_client = utf8 */;
49CREATE TABLE `fruit` (
50 `id` int(11) NOT NULL AUTO_INCREMENT,
51 `fruit` varchar(255) DEFAULT NULL,
52 PRIMARY KEY (`id`)
53) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
54/*!40101 SET character_set_client = @saved_cs_client */;
55
56--
57-- Dumping data for table `fruit`
58--
59
60LOCK TABLES `fruit` WRITE;
61/*!40000 ALTER TABLE `fruit` DISABLE KEYS */;
62INSERT INTO `fruit` VALUES (1,'apple'),(2,'orange'),(3,'grape'),(4,'banana');
63/*!40000 ALTER TABLE `fruit` ENABLE KEYS */;
64UNLOCK TABLES;
65
66--
67-- Table structure for table `inventory`
68--
69
70DROP TABLE IF EXISTS `inventory`;
71/*!40101 SET @saved_cs_client = @@character_set_client */;
72/*!40101 SET character_set_client = utf8 */;
73CREATE TABLE `inventory` (
74 `id` int(11) NOT NULL AUTO_INCREMENT,
75 `item_name` varchar(50) NOT NULL,
76 `item_desc` text,
77 `item_price` float NOT NULL,
78 `item_qty` int(11) NOT NULL,
79 PRIMARY KEY (`id`)
80) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
81/*!40101 SET character_set_client = @saved_cs_client */;
82
83--
84-- Dumping data for table `inventory`
85--
86
87LOCK TABLES `inventory` WRITE;
88/*!40000 ALTER TABLE `inventory` DISABLE KEYS */;
89INSERT INTO `inventory` VALUES (1,'Apples','Ripe Apples!',0.2,190),(2,'Apricot','Nice Apricot',0.9,2000),(3,'Grapes','Set of Grapes',0.5,5000),(4,'Mellons','Juicy Mellons',1.2,650),(5,'WaterMellons','Big watermellons',0.7,1500);
90/*!40000 ALTER TABLE `inventory` ENABLE KEYS */;
91UNLOCK TABLES;
92/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
93
94/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
95/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
96/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
97/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
98/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
99/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
100/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
101
102-- Dump completed on 2016-11-03 20:58:15