-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp_hackathon2015.sql
More file actions
86 lines (73 loc) · 2.33 KB
/
Copy pathapp_hackathon2015.sql
File metadata and controls
86 lines (73 loc) · 2.33 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
-- phpMyAdmin SQL Dump
-- version 3.3.8.1
-- http://www.phpmyadmin.net
--
-- 主机: w.rdc.sae.sina.com.cn:3307
-- 生成日期: 2015 年 04 月 17 日 17:08
-- 服务器版本: 5.5.23
-- PHP 版本: 5.3.3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- 数据库: `app_qqrecord`
--
-- --------------------------------------------------------
--
-- 表的结构 `result_man`
--
-- 保存分析结果的表,用于展现
-- filename: storage中的文件名
-- name: 分析出来的QQ人名
-- QQ: 分析出来的人的QQ号码
-- total_words: 分析统计出来的这个人说的总单词数
--
CREATE TABLE IF NOT EXISTS `result_man` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`filename` varchar(255) NOT NULL,
`name` varchar(128) DEFAULT NULL,
`qq` varchar(64) DEFAULT NULL,
`total_words` int(11) DEFAULT NULL,
`total_say` int(11) DEFAULT NULL COMMENT '总发言次数',
PRIMARY KEY (`id`),
KEY `filename` (`filename`),
KEY `total_say` (`total_say`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `result_words`
--
-- filename:storage中的文件名
-- word:分析出来的所有的名词
-- count:这个名词出现的次数
--
CREATE TABLE IF NOT EXISTS `result_words` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`filename` varchar(255) NOT NULL,
`word` varchar(32) NOT NULL,
`count` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `count` (`count`),
KEY `filename` (`filename`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `result_topwords`
--
-- filename:storage中的文件名
-- word:分析出来的所有的名词
-- count:这个名词出现的次数
--
CREATE TABLE IF NOT EXISTS `result_topwords` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`filename` varchar(255) NOT NULL,
`name` varchar(128) DEFAULT NULL,
`word` varchar(32) NOT NULL,
`count` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `count` (`count`),
KEY `name` (`name`),
KEY `filename` (`filename`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;