mysql在字段内查找指定的内容

tech2025-07-20  8

字段内容格式:“a,b,c,d”

in()

in()中只能查找字符串格式的常量 例sql:where word in(“a,b,c”)

find_in_set()

find_in_set()可以使用变量 where find_in_set(word,wordlist)

最新回复(0)