摘要: 编写一个 SQL 查询,来删除 Person 表中所有重复的电子邮箱,重复的邮箱里只保留 Id 最小 的那个。 + + + | Id | Email | + + + | 1 | john@example.com | | 2 | bob@example.com | | 3 | john@example 阅读全文
posted @ 2020-04-28 16:21 梦见舟 阅读(153) 评论(0) 推荐(0) 编辑
摘要: ``` public class Test { public static void main(String[] args) { Map map = Collections.singletonMap("a", "abc"); map.put("a", "bbb"); System.out.println(map); } } ``` ``` Exception in thread "main" ja 阅读全文
posted @ 2020-04-28 11:44 梦见舟 阅读(423) 评论(0) 推荐(0) 编辑