码迷,mamicode.com
首页 > 数据库 > 详细

MYSQL数据模型

时间:2017-07-08 18:44:36      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:数码   运动鞋   png   数据模型   val   状态   tab   旅游   图书   

DROP TABLE IF EXISTS `sh_category`;
CREATE TABLE `sh_category` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fid` int(11) NOT NULL COMMENT ‘父类‘,
  `logo` varchar(255) DEFAULT NULL COMMENT ‘图标‘,
  `name` varchar(20) NOT NULL,
  `sort` int(11) NOT NULL DEFAULT ‘0‘ COMMENT ‘排序‘,
  `status` tinyint(4) NOT NULL DEFAULT ‘1‘ COMMENT ‘显示状态‘,
  PRIMARY KEY (`id`),
  KEY `parentId` (`fid`,`status`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=440 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of sh_category
-- ----------------------------
INSERT INTO `sh_category` VALUES (‘47‘, ‘0‘, ‘‘, ‘食品烟酒‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘48‘, ‘0‘, ‘‘, ‘手机数码‘, ‘2‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘49‘, ‘0‘, ‘‘, ‘运动户外‘, ‘8‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘50‘, ‘0‘, ‘‘, ‘鞋袜箱包‘, ‘7‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘51‘, ‘0‘, ‘‘, ‘美妆清洁‘, ‘6‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘52‘, ‘0‘, ‘‘, ‘珠宝首饰‘, ‘13‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘53‘, ‘0‘, ‘‘, ‘医药保健‘, ‘11‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘54‘, ‘0‘, ‘‘, ‘家用电器‘, ‘1‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘55‘, ‘0‘, ‘‘, ‘家居家装‘, ‘4‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘56‘, ‘0‘, ‘‘, ‘旅游票务‘, ‘10‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘335‘, ‘0‘, ‘‘, ‘服装内衣‘, ‘5‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘340‘, ‘0‘, null, ‘母婴玩具‘, ‘9‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘396‘, ‘52‘, null, ‘翡翠‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘397‘, ‘52‘, null, ‘银饰‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘398‘, ‘52‘, null, ‘水晶玛瑙‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘399‘, ‘52‘, null, ‘铂金‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘400‘, ‘52‘, null, ‘珍珠‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘401‘, ‘49‘, null, ‘运动鞋包‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘403‘, ‘49‘, null, ‘运动服饰‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘404‘, ‘49‘, null, ‘健身训练‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘405‘, ‘49‘, null, ‘骑行用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘406‘, ‘49‘, null, ‘体育用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘360‘, ‘341‘, null, ‘电脑配件‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘357‘, ‘54‘, null, ‘个护健康‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘353‘, ‘47‘, null, ‘牛奶乳品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘349‘, ‘47‘, null, ‘休闲食品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘347‘, ‘47‘, null, ‘名烟名酒‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘346‘, ‘47‘, null, ‘禽类蛋品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘345‘, ‘47‘, null, ‘猪牛羊肉‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘343‘, ‘47‘, null, ‘海鲜水产‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘341‘, ‘0‘, null, ‘电脑办公‘, ‘3‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘352‘, ‘47‘, null, ‘粮油调味‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘351‘, ‘47‘, null, ‘茗茶‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘350‘, ‘47‘, null, ‘地方特产‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘356‘, ‘54‘, null, ‘生活电器‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘354‘, ‘54‘, null, ‘大家电‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘355‘, ‘54‘, null, ‘厨卫家电‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘358‘, ‘54‘, null, ‘五金‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘359‘, ‘341‘, null, ‘电脑整机‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘372‘, ‘55‘, null, ‘厨具‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘371‘, ‘48‘, null, ‘手机产品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘370‘, ‘48‘, null, ‘手机配件‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘369‘, ‘48‘, null, ‘数码产品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘366‘, ‘48‘, null, ‘电子教育‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘368‘, ‘48‘, null, ‘数码配件‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘367‘, ‘48‘, null, ‘影音娱乐‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘365‘, ‘341‘, null, ‘文具耗材‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘364‘, ‘341‘, null, ‘办公设备‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘363‘, ‘341‘, null, ‘网络产品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘361‘, ‘341‘, null, ‘外设‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘362‘, ‘341‘, null, ‘游戏设备‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘382‘, ‘51‘, null, ‘面部护肤‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘377‘, ‘335‘, null, ‘女装‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘388‘, ‘50‘, null, ‘时尚女鞋‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘387‘, ‘51‘, null, ‘宠物生活‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘386‘, ‘51‘, null, ‘清洁用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘385‘, ‘51‘, null, ‘口腔护理‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘384‘, ‘51‘, null, ‘身体护肤‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘383‘, ‘51‘, null, ‘洗发护发‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘381‘, ‘335‘, null, ‘童装童鞋‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘380‘, ‘335‘, null, ‘配饰‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘379‘, ‘335‘, null, ‘内衣‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘378‘, ‘335‘, null, ‘男装‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘376‘, ‘55‘, null, ‘生活用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘375‘, ‘55‘, null, ‘家装家纺‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘374‘, ‘55‘, null, ‘灯具‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘373‘, ‘55‘, null, ‘家具‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘420‘, ‘56‘, null, ‘本地生活‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘414‘, ‘340‘, null, ‘喂养用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘409‘, ‘49‘, null, ‘垂钓用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘394‘, ‘52‘, null, ‘黄金‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘423‘, ‘56‘, null, ‘机票火车汽车票‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘422‘, ‘56‘, null, ‘教育培训‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘421‘, ‘56‘, null, ‘演出票务‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘419‘, ‘340‘, null, ‘乐器‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘418‘, ‘340‘, null, ‘玩具‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘417‘, ‘340‘, null, ‘童车童床‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘416‘, ‘340‘, null, ‘妈妈专区‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘415‘, ‘340‘, null, ‘洗护用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘413‘, ‘340‘, null, ‘尿裤湿巾‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘412‘, ‘340‘, null, ‘营养辅食‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘411‘, ‘340‘, null, ‘奶粉‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘410‘, ‘49‘, null, ‘游泳用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘408‘, ‘49‘, null, ‘户外装备‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘407‘, ‘49‘, null, ‘户外鞋服‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘395‘, ‘52‘, null, ‘钻石‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘393‘, ‘50‘, null, ‘袜子腰带‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘392‘, ‘50‘, null, ‘功能箱包‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘391‘, ‘50‘, null, ‘精品男包‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘390‘, ‘50‘, null, ‘潮流女包‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘389‘, ‘50‘, null, ‘流行男鞋‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘435‘, ‘334‘, null, ‘文艺‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘429‘, ‘53‘, null, ‘成人用品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘428‘, ‘53‘, null, ‘滋补养生‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘427‘, ‘53‘, null, ‘营养健康‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘426‘, ‘53‘, null, ‘中西药品‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘425‘, ‘56‘, null, ‘旅游服务‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘424‘, ‘56‘, null, ‘酒店‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘439‘, ‘334‘, null, ‘科技‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘438‘, ‘334‘, null, ‘生活‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘437‘, ‘334‘, null, ‘人文社科‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘436‘, ‘334‘, null, ‘经管‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘434‘, ‘334‘, null, ‘教育‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘433‘, ‘334‘, null, ‘少儿‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘432‘, ‘334‘, null, ‘音像‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘431‘, ‘53‘, null, ‘护理护具‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘430‘, ‘53‘, null, ‘保健器械‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘334‘, ‘0‘, ‘./Tpl/Store/common/mall/img/category/14559579543206256c827c2892cf.png‘, ‘图书音像‘, ‘12‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘342‘, ‘47‘, null, ‘水果生鲜‘, ‘0‘, ‘1‘);
INSERT INTO `sh_category` VALUES (‘339‘, ‘0‘, null, ‘综合百货‘, ‘14‘, ‘1‘);

  

MYSQL数据模型

标签:数码   运动鞋   png   数据模型   val   状态   tab   旅游   图书   

原文地址:http://www.cnblogs.com/cbw7172002/p/7137452.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!