摘要: sql查询某字段的相同值: SELECT * FROM table WHERE col in (SELECT col FROM table GROUP BY col HAVING COUNT (col) >1); 顺带说一下where和having: select * from tablewhere 阅读全文
posted @ 2017-06-01 11:10 .追风逐月 阅读(3418) 评论(0) 推荐(0) 编辑