forked from cystanford/sql_nba_data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteam_score.sql
40 lines (33 loc) · 1.12 KB
/
team_score.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
Navicat Premium Data Transfer
Source Server : localhost_3306
Source Server Type : MySQL
Source Server Version : 80013
Source Host : localhost:3306
Source Schema : wucai
Target Server Type : MySQL
Target Server Version : 80013
File Encoding : 65001
Date: 25/06/2019 23:46:15
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for team_score
-- ----------------------------
DROP TABLE IF EXISTS `team_score`;
CREATE TABLE `team_score` (
`game_id` int(11) NOT NULL,
`h_team_id` int(11) NOT NULL,
`v_team_id` int(11) NOT NULL,
`h_team_score` int(11) NOT NULL,
`v_team_score` int(11) NOT NULL,
`game_date` date NULL DEFAULT NULL,
PRIMARY KEY (`game_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of team_score
-- ----------------------------
INSERT INTO `team_score` VALUES (10001, 1001, 1002, 102, 111, '2019-04-01');
INSERT INTO `team_score` VALUES (10002, 1002, 1003, 135, 134, '2019-04-10');
SET FOREIGN_KEY_CHECKS = 1;