在test表里查询arrchildid字段中包含12的信息例如num字段里的内容是(12,13,25,18)SELECT * FROM test where FIND_IN_SET('12',num)
SELECT * FROM 表名
where find_in_set(catid,(select num from 表名 where catid=$catid ))
and catid!=$catid order by listorder,catid ASC
FIND_IN_SET(str,strlist)函数
最新推荐文章于 2023-03-02 14:27:36 发布