high-six-day08/sql/day08.sql

38 lines
1.1 KiB
SQL

/*
Navicat Premium Data Transfer
Source Server : 本机
Source Server Type : MySQL
Source Server Version : 50744
Source Host : localhost:3306
Source Schema : high-six-exam
Target Server Type : MySQL
Target Server Version : 50744
File Encoding : 65001
Date: 26/07/2024 09:16:23
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for day08_bill
-- ----------------------------
DROP TABLE IF EXISTS `day08_bill`;
CREATE TABLE `day08_bill` (
`billId` int(11) NOT NULL AUTO_INCREMENT COMMENT '账单编号',
`billDate` datetime NULL DEFAULT NULL COMMENT '账单时间',
`billMonerv` double(10, 2) NULL DEFAULT NULL COMMENT '账单金额',
PRIMARY KEY (`billId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of day08_bill
-- ----------------------------
INSERT INTO `day08_bill` VALUES (1, '2024-07-26 09:03:23', 111.00);
INSERT INTO `day08_bill` VALUES (2, '2024-07-27 09:03:29', 222.00);
SET FOREIGN_KEY_CHECKS = 1;