You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
833 B
33 lines
833 B
/*
|
|
Navicat MySQL Data Transfer
|
|
|
|
Source Server : zx
|
|
Source Server Version : 80018
|
|
Source Host : localhost:3306
|
|
Source Database : test02
|
|
|
|
Target Server Type : MYSQL
|
|
Target Server Version : 80018
|
|
File Encoding : 65001
|
|
|
|
Date: 2020-06-22 23:19:48
|
|
*/
|
|
|
|
SET FOREIGN_KEY_CHECKS=0;
|
|
|
|
-- ----------------------------
|
|
-- Table structure for cart
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS `cart`;
|
|
CREATE TABLE `cart` (
|
|
`username` varchar(11) COLLATE utf8_unicode_ci NOT NULL,
|
|
`bookname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
|
`price` float(10,2) NOT NULL,
|
|
`count` int(11) NOT NULL,
|
|
PRIMARY KEY (`username`,`bookname`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
|
|
|
-- ----------------------------
|
|
-- Records of cart
|
|
-- ----------------------------
|