V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
coolicer
V2EX  ›  MySQL

找了 N 个 mysql 的 split 都不是我想要的,求写法。

  •  
  •   coolicer · Jul 9, 2014 · 3132 views
    This topic created in 4322 days ago, the information mentioned may be changed or developed.
    select xx from xxx where xx in ( )

    我需要把 'a,b,c' => 'a','b','c'
    2 replies    2014-07-09 17:11:33 +08:00
    keithellis
        1
    keithellis  
       Jul 9, 2014
    find_in_set() ?
    coolicer
        2
    coolicer  
    OP
       Jul 9, 2014
    @keithellis 我解决了,网 上找了2个自定义函数
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5393 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 08:06 · PVG 16:06 · LAX 01:06 · JFK 04:06
    ♥ Do have faith in what you're doing.