-
Notifications
You must be signed in to change notification settings - Fork 111
help_relation
xiaoboluo768 edited this page Jun 7, 2020
·
2 revisions
- 该表提供查询帮助关键字信息和主题信息之间的映射,用于关联查询help_keyword与help_topic表
- 表结构定义
CREATE TABLE `help_relation` (
`help_topic_id` int(10) unsigned NOT NULL,
`help_keyword_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`help_keyword_id`,`help_topic_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='keyword-topic relation';
- 表字段含义
- help_topic_id:帮助主题ID,该ID值与help_topic表中的help_topic_id相等
- help_keyword_id:帮助主题详细信息ID,该ID值与help_keyword表中的help_keyword_id相等
- 表记录内容示例
root@localhost : mysql 01:13:09> select * from help_relation limit 5;
+---------------+-----------------+
| help_topic_id | help_keyword_id |
+---------------+-----------------+
| 0 | 0 |
| 535 | 0 |
| 294 | 1 |
| 277 | 2 |
| 2 | 3 |
+---------------+-----------------+
5 rows in set (0.00 sec)
上一篇:help_keyword表 |下一篇:help_topic表
- 验证、测试、整理:罗小波
- QQ:309969177
- 提示:本系列文章的主体结构遵循Oracle MySQL 官方 5.7 手册中,关于information_schema、mysql schema、performance_schema、sys schema的章节结构体系,并额外添加了一些验证、测试数据。鉴于本人精力和能力有限,难免出现一些纰漏,欢迎大家踊跃指正!