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

5 years ago
/*
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
5 years ago
Date: 2020-06-22 23:19:48
5 years ago
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
5 years ago
-- Table structure for cart
5 years ago
-- ----------------------------
5 years ago
DROP TABLE IF EXISTS `cart`;
5 years ago
CREATE TABLE `cart` (
`username` varchar(11) COLLATE utf8_unicode_ci NOT NULL,
5 years ago
`bookname` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`price` float(10,2) NOT NULL,
5 years ago
`count` int(11) NOT NULL,
PRIMARY KEY (`username`,`bookname`)
5 years ago
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
5 years ago
-- Records of cart
5 years ago
-- ----------------------------