- 博客(1)
- 收藏
- 关注
原创 常用的sql查询
1、查询同一表中有两个字段相同的数据 select * from table1 t where (select count(1) from table1 where b=t.b and d=b.d)>1 2、查询同一表中一个字段相同的数据 select * from user t where t.name in (select name from user group by name o
2017-03-14 15:36:29 148
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人