-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoodsinfo.sql
More file actions
39 lines (34 loc) · 1.31 KB
/
goodsinfo.sql
File metadata and controls
39 lines (34 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 50528
Source Host : localhost:3306
Source Database : imooc
Target Server Type : MYSQL
Target Server Version : 50528
File Encoding : 65001
Date: 2016-06-24 22:27:15
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `goodsinfo`
-- ----------------------------
DROP TABLE IF EXISTS `goodsinfo`;
CREATE TABLE `goodsinfo` (
`goodsId` int(11) NOT NULL,
`goodsName` varchar(255) DEFAULT NULL,
`costPrice` int(11) DEFAULT NULL,
`sellingPrice` int(11) DEFAULT NULL,
`manufacturer` varchar(255) DEFAULT NULL,
PRIMARY KEY (`goodsId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of goodsinfo
-- ----------------------------
INSERT INTO `goodsinfo` VALUES ('1', '华为手机', '500', '1000', 'yt');
INSERT INTO `goodsinfo` VALUES ('2', '小米手机', '300', '800', 'bj');
INSERT INTO `goodsinfo` VALUES ('3', '酷派手机', '400', '800', 'tj');
INSERT INTO `goodsinfo` VALUES ('4', '苹果手机', '1000', '2000', 'AM');
INSERT INTO `goodsinfo` VALUES ('5', '三星手机', '800', '1500', 'H');
INSERT INTO `goodsinfo` VALUES ('6', '联想手机', '200', '500', 'jn');
INSERT INTO `goodsinfo` VALUES ('7', '步步高手机', '400', '700', 'qd');