exam-0726/sql/exam-0726.sql

38 lines
1.1 KiB
SQL

/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50557
Source Host : localhost:3306
Source Schema : exam-0726
Target Server Type : MySQL
Target Server Version : 50557
File Encoding : 65001
Date: 26/07/2024 08:43:26
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for bill
-- ----------------------------
DROP TABLE IF EXISTS `bill`;
CREATE TABLE `bill` (
`billId` int(11) NOT NULL AUTO_INCREMENT COMMENT '账单编号',
`billDate` datetime NULL DEFAULT NULL COMMENT '账单时间',
`billMoney` 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 = Compact;
-- ----------------------------
-- Records of bill
-- ----------------------------
INSERT INTO `bill` VALUES (1, '2024-07-26 08:40:40', 988.00);
INSERT INTO `bill` VALUES (2, '2024-07-25 08:40:45', 70.90);
SET FOREIGN_KEY_CHECKS = 1;