表:用户MySql的选择结肠
| user_Id | my_threads |
| 100 | 200:1, 201:2, 217:4 |
| 101 | 200:1, 215:3, 217:4 |
表:螺纹
| thread_id | author_id | title |
| 217 | 100 | This is title thread |
| 200 | 101 | this is only test |
当用户登录成功{$用户id = USER_ID,即用户线程的节目标题?
select title
from thread
where FIND_IN_SET(thread.thread_id,(select my_threads from user where user_id=100));
这个SQL上述作品时my_threads没有冒号这样的200,217
我不明白。什么是问题? – GolezTrol