查询sql 某个字段里的多个内容怎么查
查询sql 某个字段里的多个内容怎么查
日期:2017-07-23 17:44:07 人气:1
可用group by……having来实现。
可做如下测试:
1、创建表插入数据:
1
2
3
4
5
6
7
8
9
create table test
(id int,
name varchar(10))
insert into test values (1,'张三')
insert into test values (2,'李四')
insert into test values (3,'张三')
ins