逗号分隔处理-mysql中逗号分隔开的id怎么处理
Jun 06, 2016 am 09:37 AMmysql逗号分隔处理
现在表中某个字段存的是id,如果有个多个就以逗号隔开,根据这个id可以去另外一个表中
查出名字,我现在要直接查这张表,这个字段显示为namea,nameb,这种,sql能直接
处理吗?不想写存储过程,也不想在代码中处理,有好的办法。

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Reduce the use of MySQL memory in Docker

How do you alter a table in MySQL using the ALTER TABLE statement?

How to solve the problem of mysql cannot open shared library

What is SQLite? Comprehensive overview

Run MySQl in Linux (with/without podman container with phpmyadmin)

Running multiple MySQL versions on MacOS: A step-by-step guide

How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?

What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?
