<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>召隆企博汇论坛 - Mysql专区</title>
    <link>http://bbs.clogcn.com/forum-52-1.html</link>
    <description>Latest 20 threads of Mysql专区</description>
    <copyright>Copyright(C) 召隆企博汇论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 26 Jun 2026 22:20:23 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.clogcn.com/static/image/common/logo_88_31.gif</url>
      <title>召隆企博汇论坛</title>
      <link>http://bbs.clogcn.com/</link>
    </image>
    <item>
      <title>explain各列的解释</title>
      <link>http://bbs.clogcn.com/thread-47-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Mysql专区</category>
      <author>myskya</author>
      <pubDate>Wed, 18 Nov 2020 07:09:34 +0000</pubDate>
    </item>
    <item>
      <title>清除mysql.slow_log表的内容</title>
      <link>http://bbs.clogcn.com/thread-35-1-1.html</link>
      <description><![CDATA[配置文件必须是数据库形式的存储

使用以下命令]]></description>
      <category>Mysql专区</category>
      <author>richwisd</author>
      <pubDate>Fri, 20 Mar 2020 04:52:14 +0000</pubDate>
    </item>
    <item>
      <title>数据库迁移</title>
      <link>http://bbs.clogcn.com/thread-32-1-1.html</link>
      <description><![CDATA[公司系统比较老，原来数据库是mysql5.5，系统想做一次升级，现针对本次升级迁移做了一个笔记
旧数据库IP地址：192.168.1.8
新数据库IP地址：192.168.1.5
首先将数据库中所有的数据全部导出，但一个个写数据库太麻烦，所以看一下以下代码，注意，由于版本不同，需要将系 ...]]></description>
      <category>Mysql专区</category>
      <author>myskya</author>
      <pubDate>Tue, 03 Mar 2020 10:31:28 +0000</pubDate>
    </item>
    <item>
      <title>行转列，并加上单引号</title>
      <link>http://bbs.clogcn.com/thread-24-1-1.html</link>
      <description><![CDATA[SELECT GROUP_CONCAT(\'\'\'\',字段,\'\'\'\') from tablename]]></description>
      <category>Mysql专区</category>
      <author>huangjianan</author>
      <pubDate>Sat, 21 Dec 2019 10:37:14 +0000</pubDate>
    </item>
    <item>
      <title>MySQL索引详解和优化技巧</title>
      <link>http://bbs.clogcn.com/thread-12-1-1.html</link>
      <description><![CDATA[索引（MySQL中也叫“键（Key)\&quot;）在数据越大的时候越重要。规模小、负载轻的数据库即使没有索引，也能
有好的性能，但是当数据增加的时候，性能就会很快下降。理解索引如何工作的最简单的方式就是把索引看成
一本书。为了找到书中一个特定的话题，你须要查看目录，它会告 ...]]></description>
      <category>Mysql专区</category>
      <author>myskya</author>
      <pubDate>Mon, 09 Dec 2019 03:33:39 +0000</pubDate>
    </item>
    <item>
      <title>mysql：distinct, group by 去重用法和区别</title>
      <link>http://bbs.clogcn.com/thread-11-1-1.html</link>
      <description><![CDATA[1.数据去重样例样例数据表 quancheng_test

功能需求：按 name 进行去重，把 id 查出来。
方案1：结果1：

方案2：结果2：

2.两种去重方案的区别group 是按组查询的，是一种聚合查询，很多时候是为了做统计用，例如：
对 name 分组，并统计每组 id 的和，查询结果为： ...]]></description>
      <category>Mysql专区</category>
      <author>myskya</author>
      <pubDate>Mon, 09 Dec 2019 03:24:36 +0000</pubDate>
    </item>
    <item>
      <title>MySql字段含有逗号，根据逗号分隔的数据查询</title>
      <link>http://bbs.clogcn.com/thread-10-1-1.html</link>
      <description><![CDATA[1.数据库数据(只查询含有75的数据，但是要排除掉751和752) 

2.sql语句
3.查询结果]]></description>
      <category>Mysql专区</category>
      <author>myskya</author>
      <pubDate>Mon, 09 Dec 2019 03:17:48 +0000</pubDate>
    </item>
    <item>
      <title>mysql行列转换</title>
      <link>http://bbs.clogcn.com/thread-9-1-1.html</link>
      <description><![CDATA[原始插入数据如下：
要求查询结果如下 ：


创建数据库、表
添加数据方式一:使用if方式二:使用case方法三: with rollup查询结果如下：]]></description>
      <category>Mysql专区</category>
      <author>myskya</author>
      <pubDate>Mon, 09 Dec 2019 03:14:57 +0000</pubDate>
    </item>
  </channel>
</rss>