繁体   English   中英

如何在phpMyAdmin中获取分区表

[英]How can I get sectioned tables in phpMyAdmin

我正在使用phpMyAdmin为我的项目数据库创建表。 目前,我的表按此table->{contents} table->section_name1{contents},section2_name{contents}排列,但我希望它们像这个表table->section_name1{contents},section2_name{contents} 我想要的JSON格式示例在此链接中

不清楚您要问什么。 如果仅希望表中的内容可以按section_name进行分组(如JSON示例中所示),则只需将section_name设为表中的一列,并为每个节适当地填充它。

如果不是那样,那么您能详细解释一下您要做什么吗?

编辑:这样:

------------------------------------------------------------------------
| Title     | Name        | Image                                       |
------------------------------------------------------------------------
| Section 1 | Donut       | https://thecustomizewindows.com/wp-....     |            
------------------------------------------------------------------------
| Section 1 | Eclairs     | https://thecustomizewindows.com/wp-....     | 
------------------------------------------------------------------------
| Section 1 | Froyo       | https://thecustomizewindows.com/wp-....     | 
------------------------------------------------------------------------
| Section 2 | Donut       | https://thecustomizewindows.com/wp-....     | 
------------------------------------------------------------------------
| Section 2 | Eclairs     | https://thecustomizewindows.com/wp-....     | 
------------------------------------------------------------------------
| Section 2 | Froyo       | https://thecustomizewindows.com/wp-....     | 
------------------------------------------------------------------------
| Section 3 | Donut       | https://thecustomizewindows.com/wp-....     | 
------------------------------------------------------------------------
| Section 3 | Eclairs     | https://thecustomizewindows.com/wp-....     | 
------------------------------------------------------------------------

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM